File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 * --------------------------------------------------------------------------
3434 */
3535
36+ define ('PLUGIN_PDF_VERSION ' , '3.0.0 ' );
37+ define ('PLUGIN_PDF_MIN_GLPI ' , '10.0.0 ' );
38+ define ('PLUGIN_PDF_MAX_GLPI ' , '10.0.99 ' );
39+
3640function plugin_init_pdf ()
3741{
3842 global $ PLUGIN_HOOKS , $ PDF_DEVICES ;
@@ -104,15 +108,15 @@ function plugin_init_pdf()
104108function plugin_version_pdf ()
105109{
106110 return ['name ' => __ ('Print to pdf ' , 'pdf ' ),
107- 'version ' => ' 3.0.0 ' ,
111+ 'version ' => PLUGIN_PDF_VERSION ,
108112 'author ' => 'Remi Collet, Nelly Mahu-Lasson, Teclib ' ,
109113 'license ' => 'GPLv3+ ' ,
110114 'homepage ' => 'https://github.com/yllen/pdf ' ,
111- 'minGlpiVersion ' => ' 10.0.0 ' ,
115+ 'minGlpiVersion ' => PLUGIN_PDF_MIN_GLPI ,
112116 'requirements ' => [
113117 'glpi ' => [
114- 'min ' => ' 10.0.0 ' ,
115- 'max ' => ' 10.0.99 ' ,
118+ 'min ' => PLUGIN_PDF_MIN_GLPI ,
119+ 'max ' => PLUGIN_PDF_MAX_GLPI ,
116120 ],
117121 ],
118122 ];
You can’t perform that action at this time.
0 commit comments