Jelajahi Sumber

Modified configtest to use the new init.php system.
Without this change, configtest did not work.

tassium 19 tahun lalu
induk
melakukan
1ab3f2f204
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/configtest.php

+ 2 - 3
src/configtest.php

@@ -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;
 }
-?>
+?>