98948537689b65fade7fc08e339d621272b37356
[mtweb] / web / app / mods / index / index.php
1 <?php
2
3   class mw_index_index extends mw_mod
4   {
5
6     function index(&$env)
7     { $start_action = $env->config("start_action");
8       if($start_action)
9       { $start_action_params = $env->config("start_action_params");
10         if($start_action_params && is_array($start_action_params))
11         { foreach($start_action_params as $key => $value) $_GET[$key] = $value;
12         }
13         $env->run($start_action);
14       }
15     }
16
17   }
18
19 ?>