require "mw/mw_app.php";
$app = new mw_app("pathes.php");
- if($app->init() && $app->run()) $app->display();
-// else $app->show_logs();
-?>
\ No newline at end of file
+ if(!$app->init()){
+ $app->show_error();
+ return;
+ }
+
+ if($app->run()) $app->display();