x changed setup code to automagically find Settings.php (hopefully)
* rearranged stuff in template to use less room (set <form>-block margin to 0) + calculate /Sources/ directory dynamically from SMF setup
This commit is contained in:
@ -47,7 +47,7 @@ else
|
||||
|
||||
if ((isset($_REQUEST['man'])) || (!isset($db_name)))
|
||||
{
|
||||
include_once ("Settings.php");
|
||||
require_once (dirname(realpath($_SERVER['SCRIPT_FILENAME'])) . "/Settings.php");
|
||||
$dbcon = mysql_connect($db_server, $db_user, $db_passwd);
|
||||
mysql_select_db($db_name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user