// fix upgrade fail when blockcms was not installed
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13323 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -65,7 +65,7 @@ else
|
||||
|
||||
// need for upgrade before 1.5
|
||||
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']))), '/').'/'));
|
||||
|
||||
// need for upgrade before 1.5
|
||||
if (!defined('_THEME_NAME_'))
|
||||
|
||||
Reference in New Issue
Block a user