allow /name.ext to load mod/name_ext.php

Cette révision appartient à :
Fabio Comuni 2011-02-16 08:55:38 +01:00
Parent b505e76393
révision 3208a649a2
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -277,7 +277,7 @@ class App {
$this->argv = explode('/',$this->cmd);
$this->argc = count($this->argv);
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
$this->module = $this->argv[0];
$this->module = str_replace(".", "_", $this->argv[0]);
}
else {
$this->module = 'home';