Revision 177
Added by ryan about 19 years ago
save.php | ||
---|---|---|
291 | 291 |
define('DB_PASSWORD', $database_password); |
292 | 292 |
define('DB_NAME', $database_name); |
293 | 293 |
define('TABLE_PREFIX', $table_prefix); |
294 |
define('WB_PATH', str_replace('/install','',dirname(__FILE__)));
|
|
294 |
define('WB_PATH', str_replace(array('/install','\install'), '',dirname(__FILE__)));
|
|
295 | 295 |
define('WB_URL', $wb_url); |
296 | 296 |
define('ADMIN_PATH', WB_PATH.'/admin'); |
297 | 297 |
define('ADMIN_URL', $wb_url.'/admin'); |
Also available in: Unified diff
Fixed str_replace