Rev 4 | Rev 9 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
Line 273... | Line 273... | ||
273 | for ($st=0; true; $st++) |
273 | for ($st=0; true; $st++) |
274 | { |
274 | { |
275 | $erf = false; |
275 | $erf = false; |
276 | foreach ($module AS $m1 => $m2) |
276 | foreach ($module AS $m1 => $m2) |
277 | { |
277 | { |
278 | if (file_exists('modules/'.$m2.'/autostart_'.$st.'.inc.php')) |
278 | if (file_exists('modules/'.wb_dir_escape($m2).'/autostart_'.wb_dir_escape($st).'.inc.php')) |
279 | { |
279 | { |
280 | include 'modules/'.$m2.'/autostart_'.$st.'.inc.php'; |
280 | include 'modules/'.wb_dir_escape($m2).'/autostart_'.wb_dir_escape($st).'.inc.php'; |
281 | $erf = true; |
281 | $erf = true; |
282 | } |
282 | } |
283 | } |
283 | } |
284 | 284 | ||
285 | unset($m1); |
285 | unset($m1); |