// Add smarty front configuration
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9781 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
9e08540e84
commit
411f72fba2
3 files changed
+84
-52
No files matched your search
@@ -162,14 +162,10 @@ define('_PS_OS_PAYPAL_', Configuration::get('PS_OS_PAYPAL'));
|
||||
define('_PS_OS_WS_PAYMENT_', Configuration::get('PS_OS_WS_PAYMENT'));
|
||||
|
||||
/* Smarty */
|
||||
if (!defined('_PS_ADMIN_DIR_'))
|
||||
require_once(dirname(__FILE__).'/smarty.config.inc.php');
|
||||
else
|
||||
require_once(dirname(__FILE__).'/smartyadmin.config.inc.php');
|
||||
require_once(dirname(__FILE__).'/smarty.config.inc.php');
|
||||
|
||||
Context::getContext()->smarty = $smarty;
|
||||
/* Possible value are true, false, 'URL'
|
||||
(for 'URL' append SMARTY_DEBUG as a parameter to the url)
|
||||
default is false for production environment */
|
||||
define('SMARTY_DEBUG_CONSOLE', false);
|
||||
|
||||
define('SMARTY_DEBUG_CONSOLE', false);
|
||||
Reference in new issue
Block a user