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
d75db99
..
ac39687
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-1,10
+1,12
@@
<?php
require "mw/mw_app.php";
<?php
require "mw/mw_app.php";
- $app = new mw_app();
- if($app->init("config.php")){
- $app->run();
- $app->display();
+ $app = new mw_app("pathes.php", true);
+
+ if(($res = $app->init()) !== true){
+ echo $res;
+ return;
}
}
-?>
\ No newline at end of file
+ $app->run(isset($_GET[$app->param("e")]) ? $_GET[$app->param("e")] : "");
+ $app->display();