mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-28 06:57:22 +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) {
|
if (get_user_class() < UC_SYSOP) {
|
||||||
die("access denied.");
|
die("access denied.");
|
||||||
}
|
}
|
||||||
$config = config('database.mysql');
|
$config = nexus_config('nexus.mysql');
|
||||||
mysql_connect($config['host'],$config['username'],$config['password'], $config['database'], $config['port']);
|
mysql_connect($config['host'],$config['username'],$config['password'], $config['database'], $config['port']);
|
||||||
stdhead("Manage Locations");
|
stdhead("Manage Locations");
|
||||||
begin_main_frame("",false,100);
|
begin_main_frame("",false,100);
|
||||||
|
|||||||
Reference in New Issue
Block a user