Exemple #1
0
 /**
  * Returns an array with webinstance dir as keys and full config files path as value
  * @return Array
  */
 public function getAllConfigFilesLocation()
 {
     $e = array();
     $p1 = $this->rootPath . $this->rootInstancesPath;
     foreach (Sydney_Tools::getDirList($p1, true) as $d) {
         if (!preg_match('/^\\./', $d)) {
             $fp = $p1 . '/' . $d . '/config/' . $this->configFileName;
             if (file_exists($fp)) {
                 $e[$d] = $fp;
             }
         }
     }
     return $e;
 }