Browse Source

Fix problems with <PHP4.0.2 including every listed require file

simond 23 năm trước cách đây
mục cha
commit
127f77e7b1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/db_prefs.php

+ 1 - 1
functions/db_prefs.php

@@ -36,7 +36,7 @@ define('SMDB_UNKNOWN', 0);
 define('SMDB_MYSQL', 1);
 define('SMDB_PGSQL', 2);
 
-require_once('DB.php');
+include_once('DB.php');
 require_once('../config/config.php');
 
 global $prefs_are_cached, $prefs_cache;