Skip to content

Commit

Permalink
Revert "Autoload-Dateien entfernt"
Browse files Browse the repository at this point in the history
This reverts commit ac7670c.
  • Loading branch information
math-GH committed Jan 17, 2021
1 parent 81f0646 commit 6d9a8c7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/autoload.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

;;
; Configure what you want the autoload creator to register
;;
register_namespaces = true
register_classes = true
register_templates = true
30 changes: 30 additions & 0 deletions config/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (C) 2005-2012 Leo Feyer
*
* @package Bepiwikcharts
* @link http://contao.org
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/


/**
* Register the classes
*/
ClassLoader::addClasses(array
(
'bepiwikcharts' => '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',
));

0 comments on commit 6d9a8c7

Please sign in to comment.