Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Set for subdirectory detection

givanzaa1b6aaa096e
diff --git a/admin/index.php b/admin/index.php
index 4963f34..a50b38d 100755
--- a/admin/index.php
+++ b/admin/index.php
@@ -21,7 +21,7 @@
*/
define('APP', 'admin');
-define('DISABLE_PLUGIN_ON_ERORR', true);
+//define('DISABLE_PLUGIN_ON_ERORR', true);
//no trailing slash for subdir path
//define('V_SUBDIR_INSTALL', '/vvveb');
@@ -38,4 +38,8 @@ if (! defined('PUBLIC_PATH')) {
define('PUBLIC_THEME_PATH', (V_SUBDIR_INSTALL ? V_SUBDIR_INSTALL : '') . $PUBLIC_THEME_PATH);
}
*/
+if (! isset($FILE)) {
+ $FILE = __FILE__;
+}
+
return include __DIR__ . '/../index.php';