commit edba211eb729309f7356a64bb8573f2eacb2cb0c parent 150f8626c406e458f8ade235bac05bdb0dec6684 Author: Jan Dankert <devnull@localhost> Date: Wed, 29 Nov 2017 01:14:32 +0100 Fix: Einbindung externer Funktionsbibliothek für Includes. Diffstat:
themes/default/include/html/Component.class.php | | | 2 | +- |
themes/default/include/html/date/Date.class.php | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/themes/default/include/html/Component.class.php b/themes/default/include/html/Component.class.php @@ -134,7 +134,7 @@ abstract class Component protected function include( $file ) { - echo "<?php include_once( OR_THEMES_DIR.'default/include/html/date/".$file."') ?>"; + echo "<?php include_once( OR_THEMES_DIR.'default/include/html/".$file."') ?>"; } diff --git a/themes/default/include/html/date/Date.class.php b/themes/default/include/html/date/Date.class.php @@ -8,7 +8,7 @@ class DateComponent extends Component { $date = $this->date; - $this->include( 'component-date.php'); + $this->include( 'date/component-date.php'); echo '<?php component_date('.$this->value($this->date).') ?>'; } }