PHP 5.3 deprecated ereg() function (#2820952)
[squirrelmail.git] / plugins / administrator / defines.php
index fdc9642d5f349ad0b9b8acaea4dd525ac7633f11..14cf3ffdfb19b62cf7d1531572cf4e1ce0d72331 100644 (file)
@@ -4,7 +4,7 @@
  * Administrator plugin - Option definitions
  *
  * @author Philippe Mingo
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright © 1999-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -44,7 +44,7 @@ function adm_template_options() {
     return $ret;
 }
 
-global $languages, $version;
+global $languages;
 
 $language_values = array( );
 foreach ($languages as $lang_key => $lang_attributes) {
@@ -64,7 +64,7 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                              'size' => 7 ),
                  'SM_ver' => array( 'name' => _("SquirrelMail Version"),
                                     'type' => SMOPT_TYPE_EXTERNAL,
-                                    'value' => "$version" ),
+                                    'value' => SM_VERSION ),
                  'PHP_ver' => array( 'name' => _("PHP Version"),
                                      'type' => SMOPT_TYPE_EXTERNAL,
                                      'value' => phpversion() ),