source: trunk/web/app/run/07_mods.php @ 8

Last change on this file since 8 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 603 bytes
RevLine 
[6]1<?php
2
3  if($env->e !== "redirect" && !$env->erreur)
4  {
5
6    do
7    { if($env->next_e)
8      { $env->e = $env->next_e;
9        $env->next_e = "";
10      }
11      if($env->e !== "redirect")
12      { if($env->e)
13        { if(file_exists($env->path("app")."mods/".$env->mod_path.$env->prefix.$env->e.".php"))
14          { require_once $env->path("app")."mods/".$env->mod_path.$env->prefix.$env->e.".php";
15          }
16          if(function_exists($env->prefix.$env->e)) eval($env->prefix.$env->e."(\$env);");
17        }
18      }
19    }
20    while(!$env->erreur && $env->e !== "redirect" && $env->next_e);
21
22
23  }
24
25?>
Note: See TracBrowser for help on using the repository browser.