Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Load admin bar only for app/theme pages

givanz6598079bfa99
diff --git a/app/template/editor.tpl b/app/template/editor.tpl
index 04ecb9e..2235c12 100755
--- a/app/template/editor.tpl
+++ b/app/template/editor.tpl
@@ -18,7 +18,7 @@ if ($is_admin && $vvveb_is_page_edit) {
body|prepend = <?php
-if (isset($is_admin) && $is_admin && !$vvveb_is_page_edit) {
+if (isset($is_admin) && $is_admin && !$vvveb_is_page_edit && APP == 'app') {
include_once(DIR_ROOT . '/admin/admin-bar.php');
}
?>