diff --git a/index.php b/index.php index 29f4a57..564344d 100644 --- a/index.php +++ b/index.php @@ -9,5 +9,5 @@ require_once 'config.php'; \SYSTEM\system::register_errorhandler_dbwriter(); \SYSTEM\system::register_errorhandler_jsonoutput(); -echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_slingit', array_merge($_POST,$_GET), 1, true, true)->html(); +echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'page_slingit', array_merge($_POST,$_GET), 1, true, true); new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); \ No newline at end of file diff --git a/lib/system b/lib/system index 9b74439..45fd16f 160000 --- a/lib/system +++ b/lib/system @@ -1 +1 @@ -Subproject commit 9b74439f85a36232ddf553f35dd0cdc672682477 +Subproject commit 45fd16f2a6347ec9389ac9a027c9eb70d5e7768d diff --git a/slingit/page/page_slingit.php b/slingit/page/page_slingit.php index 3f49042..ebfec6b 100644 --- a/slingit/page/page_slingit.php +++ b/slingit/page/page_slingit.php @@ -1,17 +1,19 @@ html($_escaped_fragment_);} public static function page_start($hash = null){ - return new default_start($hash);} + return (new default_start($hash))->html();} public static function page_about(){ - return new default_about('');} + return (new default_about(''))->html();} public static function page_impressum(){ - return new default_impressum('');} + return (new default_impressum(''))->html();} } \ No newline at end of file