[+] BO : Adding warnings when merchant does not enable the configurations needed to use modules API
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12562 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1000,6 +1000,10 @@ class AdminModulesControllerCore extends AdminController
|
||||
$tpl_vars['list_modules_categories'] = $this->list_modules_categories;
|
||||
$tpl_vars['list_modules_authors'] = $this->modules_authors;
|
||||
|
||||
$tpl_vars['check_url_fopen'] = (ini_get('allow_url_fopen') ? 'ok' : 'ko');
|
||||
$tpl_vars['check_curl'] = (extension_loaded('curl') ? 'ok' : 'ko');
|
||||
$tpl_vars['check_openssl'] = (extension_loaded('openssl') ? 'ok' : 'ko');
|
||||
|
||||
if ($this->logged_on_addons)
|
||||
$tpl_vars['logged_on_addons'] = 1;
|
||||
$smarty->assign($tpl_vars);
|
||||
|
||||
Reference in New Issue
Block a user