mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-18 23:07:36 +08:00
fix location.php config() error
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ loggedinorreturn();
|
||||
if (get_user_class() < UC_SYSOP) {
|
||||
die("access denied.");
|
||||
}
|
||||
$config = config('database.mysql');
|
||||
$config = nexus_config('nexus.mysql');
|
||||
mysql_connect($config['host'],$config['username'],$config['password'], $config['database'], $config['port']);
|
||||
stdhead("Manage Locations");
|
||||
begin_main_frame("",false,100);
|
||||
|
||||
Reference in New Issue
Block a user