// Remove reference to install-new
This commit is contained in:
@@ -43,7 +43,7 @@ require_once(_PS_INSTALL_PATH_ . 'install_version.php');
|
||||
// we check if theses constants are defined
|
||||
// in order to use init.php in upgrade.php script
|
||||
if (!defined('__PS_BASE_URI__'))
|
||||
define('__PS_BASE_URI__', str_replace('//', '/', '/'.trim(preg_replace('#/(install(-dev|-new)?)$#', '/', str_replace('\\', '/', dirname($_SERVER['REQUEST_URI']))), '/').'/'));
|
||||
define('__PS_BASE_URI__', str_replace('//', '/', '/'.trim(preg_replace('#/(install(-dev)?)$#', '/', str_replace('\\', '/', dirname($_SERVER['REQUEST_URI']))), '/').'/'));
|
||||
|
||||
if (!defined('_THEME_NAME_'))
|
||||
define('_THEME_NAME_', 'default');
|
||||
|
||||
Reference in New Issue
Block a user