Project

General

Profile

« Previous | Next » 

Revision 1637

Added by darkviper over 12 years ago

made handling of config.php a little bit more easy

View differences:

save.php
291 291
"define('DB_PASSWORD', '$database_password');\n".
292 292
"define('TABLE_PREFIX', '$table_prefix');\n".
293 293
"\n".
294
"define('WB_PATH', dirname(__FILE__));\n".
295 294
"define('WB_URL', '$wb_url');\n".
296
"define('ADMIN_PATH', WB_PATH.'/admin');\n".
297
"define('ADMIN_URL', WB_URL.'/admin');\n".
298 295
"\n".
299
"require_once(WB_PATH.'/framework/initialize.php');\n".
300
"\n".
301
"";
296
"require_once(dirname(__FILE__).'/framework/initialize.php');\n".
297
"\n";
302 298

  
303 299
$config_filename = '../config.php';
304 300
// Check if the file exists and is writable first.

Also available in: Unified diff