diff --git a/config/autoload.ini b/config/autoload.ini new file mode 100644 index 0000000..56a51b1 --- /dev/null +++ b/config/autoload.ini @@ -0,0 +1,7 @@ + +;; +; Configure what you want the autoload creator to register +;; +register_namespaces = true +register_classes = true +register_templates = true diff --git a/config/autoload.php b/config/autoload.php new file mode 100644 index 0000000..a930951 --- /dev/null +++ b/config/autoload.php @@ -0,0 +1,30 @@ + 'system/modules/be_piwikcharts/bepiwikcharts.php', +)); + + +/** + * Register the templates + */ +TemplateLoader::addFiles(array +( + 'be_piwikcharts' => 'system/modules/be_piwikcharts/templates', + 'be_piwikcharts_welcome' => 'system/modules/be_piwikcharts/templates', +));