diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -41,12 +41,12 @@ class page { $this->headCode['gliderHeadcode'] = ''; $this->pagetitle = $ntitle; - $this->scripts = $nscripts; + $this->scripts = $nscripts; + + session_start(); if($immediate && $ntitle != "NOHEAD") $this->head(); - - session_start(); } /** @@ -60,7 +60,7 @@ class page { * \param $enable * Whether or not to enable this code while adding it. */ - function headcode_add($key, $code, $enable = FALSE) + public function headcode_add($key, $code, $enable = FALSE) { $this->headCode[$key] = $code; if ($enable) @@ -76,7 +76,7 @@ class page { // Public functions/vars - function head(){ + public function head(){ $this->pageGenTime = round(microtime(), 3); echo 'doctype . '> diff --git a/input.php b/input.php --- a/input.php +++ b/input.php @@ -49,18 +49,17 @@ var sectionsOfClass = Array();
| - getName()) . '"'; /*"*/ ?> /> - (For example: Fall ) | ||||||||||
| - |