code syntax variants webservice directory

This commit is contained in:
Frédéric FRANCE
2021-02-26 13:10:10 +01:00
parent 0d7a2c1d81
commit db871994fb
25 changed files with 894 additions and 1028 deletions

View File

@@ -25,8 +25,9 @@ $langs->loadLangs(array("admin", "products"));
$action = GETPOST('action', 'alphanohtml');
// Security check
if (!$user->admin || (empty($conf->product->enabled) && empty($conf->service->enabled)))
if (!$user->admin || (empty($conf->product->enabled) && empty($conf->service->enabled))) {
accessforbidden();
}
$error = 0;