summaryrefslogtreecommitdiffstats
path: root/code/templates.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-09-19 02:52:05 +0200
committerneoraider <devnull@localhost>2006-09-19 02:52:05 +0200
commitebf846c0a4c5d415b1e461ddbf8c5bdbb297d4e2 (patch)
tree178e0e825c9c96deea9949be76c1adacfc295843 /code/templates.inc.php
parent13edf825d1753e085c22909a9d3ad893303f78bc (diff)
downloadneon-ebf846c0a4c5d415b1e461ddbf8c5bdbb297d4e2.tar
neon-ebf846c0a4c5d415b1e461ddbf8c5bdbb297d4e2.zip
Einige weitere Anpassungen an die neue Modulverwaltung vorgenommen.
Diffstat (limited to 'code/templates.inc.php')
-rw-r--r--code/templates.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/templates.inc.php b/code/templates.inc.php
index 9db1ff2..0c95d55 100644
--- a/code/templates.inc.php
+++ b/code/templates.inc.php
@@ -1,4 +1,4 @@
<?PHP
- foreach($GLOBALS['modules']->templates as $file => $module)
- require_once($module['path'] . 'templates/' . $file . '.inc.php');
+ foreach(array_keys($GLOBALS['modules']->templates) as $file)
+ require_once($GLOBALS['modules']->GetTemplatePath($file));
?>