updated system reference, adjustments for _escaped_fragment

This commit is contained in:
Ulf Gebhardt 2015-04-06 20:38:32 +02:00
parent 32747c81e6
commit 9135f6a32c
3 changed files with 10 additions and 8 deletions

View File

@ -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.");

@ -1 +1 @@
Subproject commit 9b74439f85a36232ddf553f35dd0cdc672682477
Subproject commit 45fd16f2a6347ec9389ac9a027c9eb70d5e7768d

View File

@ -1,17 +1,19 @@
<?php
class page_slingit extends \SYSTEM\API\api_default {
public static function get_class(){
public static function get_apigroup(){
return 1;}
public static function get_class($params = null){
return self::class;}
public static function default_page($_escaped_fragment_ = null){
return new default_page($_escaped_fragment_);}
return (new default_page())->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();}
}