Added validate to translate
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 2 Feb 2002 10:01:30 +0000 (10:01 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 2 Feb 2002 10:01:30 +0000 (10:01 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2342 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/options.php
plugins/translate/options.php

index 27a7788..f9f06ad 100644 (file)
@@ -489,8 +489,7 @@ fwrite( $fp, "<?PHP\n".
             "/**\n".
             " * SquirrelMail Configuration File\n".
             " * Created using the Administrator Plugin\n".
-            " */\n".
-            "GLOBAL \$version;\n" );
+            " */\n" );
 
 /*
 fwrite( $fp, 'GLOBAL ' );
index 64c9984..97b8618 100644 (file)
     */
 
    chdir('..');
-
-   session_start();
-   
-   require_once('../config/config.php');
+   require_once('../src/validate.php');
    require_once('../functions/strings.php');
    require_once('../functions/page_header.php');
    require_once('../functions/display_messages.php');