Modified configtest to use the new init.php system.
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 5 Apr 2006 19:40:41 +0000 (19:40 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 5 Apr 2006 19:40:41 +0000 (19:40 +0000)
Without this change, configtest did not work.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11027 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/configtest.php

index 0d6be68a1ada3e5b4648eb9d990a87402698b288..5b20b21b75500a376abc4a06c54bcfa0d49b1c0d 100644 (file)
@@ -47,8 +47,7 @@ $allow_remote_configtest=false;
  * later.
  */
 if (file_exists(SM_PATH . 'config/config.php')) {
-    include(SM_PATH . 'config/config.php');
-    include(SM_PATH . 'functions/strings.php');
+    require(SM_PATH . 'include/init.php');
 }
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
@@ -689,4 +688,4 @@ if ($warnings) {
 EOF;
     echo $footer;
 }
-?>
\ No newline at end of file
+?>