projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maj version dans config.xml
[mtweb]
/
index.php
diff --git
a/index.php
b/index.php
index
f43715b
..
ac39687
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-1,11
+1,12
@@
<?php
require "mw/mw_app.php";
<?php
require "mw/mw_app.php";
- $app = new mw_app("pathes.php");
+ $app = new mw_app("pathes.php"
, true
);
- if(
!$app->init()
){
-
$app->show_error()
;
+ if(
($res = $app->init()) !== true
){
+
echo $res
;
return;
}
return;
}
- if($app->run()) $app->display();
+ $app->run(isset($_GET[$app->param("e")]) ? $_GET[$app->param("e")] : "");
+ $app->display();