- Timestamp:
- 14/02/11 02:04:17 (15 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
Oak.php (modified) (1 diff)
-
Oak/Menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Oak.php
r51 r53 19 19 set_include_path(get_include_path() . PATH_SEPARATOR . $modules_dir); 20 20 set_include_path(get_include_path() . PATH_SEPARATOR . $data_dir); 21 22 /* En caso de que estemos dentro de public... subimos un nivel */ 23 24 if (!is_dir("conf")) { 25 chdir(".."); 26 } 21 27 22 28 /* Cargamos el resto de la configuración */ -
trunk/src/Oak/Menu.php
r52 r53 26 26 */ 27 27 function __construct( &$access ) { 28 if (($access instanceof Oak_Access) and file_exists(" ../conf/menu.yml")) {28 if (($access instanceof Oak_Access) and file_exists("conf/menu.yml")) { 29 29 $this->cut = array(); 30 30 $this->logout = array(); 31 31 $this->opt = array(); 32 $this->menu = Horde_Yaml::loadFile(" ../conf/menu.yml");32 $this->menu = Horde_Yaml::loadFile("conf/menu.yml"); 33 33 $this->checkMenu($access); 34 34 }
