Ejemplo n.º 1
0
 protected function setPath($root_path)
 {
     $this->root_path = $root_path;
     waConfig::add(array('wa_path_root' => $root_path, 'wa_path_apps' => $root_path . DIRECTORY_SEPARATOR . 'wa-apps', 'wa_path_system' => $root_path . DIRECTORY_SEPARATOR . 'wa-system', 'wa_path_log' => $root_path . DIRECTORY_SEPARATOR . 'wa-log', 'wa_path_data' => $root_path . DIRECTORY_SEPARATOR . 'wa-data', 'wa_path_content' => $root_path . DIRECTORY_SEPARATOR . 'wa-content', 'wa_path_config' => $root_path . DIRECTORY_SEPARATOR . 'wa-config', 'wa_path_cache' => $root_path . DIRECTORY_SEPARATOR . 'wa-cache', 'wa_path_plugins' => $root_path . DIRECTORY_SEPARATOR . 'wa-plugins', 'wa_path_installer' => $root_path . DIRECTORY_SEPARATOR . 'wa-installer'));
 }