[+] 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:
fSerny
2012-01-19 14:50:09 +00:00
parent a35d136a7a
commit 17b1f7227d
5 changed files with 34 additions and 3245 deletions
@@ -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);