diff --git a/config.ini b/config.ini old mode 100644 new mode 100755 index 04aaa8b..39636a4 --- a/config.ini +++ b/config.ini @@ -19,6 +19,7 @@ lang = en highlight = true [custom] +;header = data/header.html ;styles[] = static/styles/custom1.css ;styles[] = static/styles/custom2.css ;scripts = static/styles/scripts.css diff --git a/index.php b/index.php old mode 100644 new mode 100755 index 98acd4f..1857865 --- a/index.php +++ b/index.php @@ -24,7 +24,7 @@ for($m=0;$m<60;$m+=10){ $minutes .= sprintf('', $m, $m); } -$header_path = PROJECT_PATH.'data/header.html'; +$header_path = PROJECT_PATH.Config::get_safe("header", 'data/header.html'); if(file_exists($header_path)){ $header = file_get_contents($header_path); } else {