فهرست منبع

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

tassium 19 سال پیش
والد
کامیت
1ab3f2f204
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  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;
 }
-?>
+?>