@@ -110,6 +110,11 @@ class AdminControl extends BaseController
if (in_array($controller, $tmp)) {
return true;
}
+ $allow = ["ajax_get_brand"];
+
+ if (in_array($action,$allow)){
+ return true;
+ }
if (in_array($controller, $permission) || in_array("$controller.$action", $permission)) {
} else {
@@ -1,8 +0,0 @@
-<IfModule mod_rewrite.c>
- Options +FollowSymlinks -Multiviews
- RewriteEngine On
-
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
-</IfModule>