diff options
-rw-r--r-- | app/php/application.xml | 1 | ||||
-rw-r--r-- | app/php/components/config.xml | 6 | ||||
-rw-r--r-- | app/php/layouts/MainLayout.php | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/app/php/application.xml b/app/php/application.xml index 5feac98..409f957 100644 --- a/app/php/application.xml +++ b/app/php/application.xml @@ -5,6 +5,7 @@ <include file="Application.model.config" /> <include file="Application.user.config" /> <include file="Application.url.config" /> + <include file="Application.components.config" /> <services> <service id="page" class="TPageService" /> diff --git a/app/php/components/config.xml b/app/php/components/config.xml new file mode 100644 index 0000000..f75e19f --- /dev/null +++ b/app/php/components/config.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <paths> + <using namespace="Application.components.*" /> + </paths> +</configuration> diff --git a/app/php/layouts/MainLayout.php b/app/php/layouts/MainLayout.php index 678b1aa..c0e7e0b 100644 --- a/app/php/layouts/MainLayout.php +++ b/app/php/layouts/MainLayout.php @@ -1,7 +1,5 @@ <?php -Prado::using('Application.components.HeaderMenu'); - class MainLayout extends TTemplateControl { } |