X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=index.php;h=ac3968754c08b0eb7ad83002ae158ed4ff9cc450;hb=refs%2Ftags%2Fmtweb.0.13.1;hp=f43715bb1f5358265af4a89acc0fa44d52735443;hpb=b91d4ed0a098b00708072de6fecd8c5047cb586b;p=mtweb diff --git a/index.php b/index.php index f43715b..ac39687 100644 --- a/index.php +++ b/index.php @@ -1,11 +1,12 @@ init()){ - $app->show_error(); + if(($res = $app->init()) !== true){ + echo $res; return; } - if($app->run()) $app->display(); + $app->run(isset($_GET[$app->param("e")]) ? $_GET[$app->param("e")] : ""); + $app->display();