芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/www/resupres/system/classes/kohana/config/file.php
_directory = trim($directory, '/'); // Load the empty array parent::__construct(); } /** * Load and merge all of the configuration files in this group. * * $config->load($name); * * @param string configuration group name * @param array configuration array * @return $this clone of the current object * @uses Kohana::load */ public function load($group, array $config = NULL) { if ($files = Kohana::find_file($this->_directory, $group, NULL, TRUE)) { // Initialize the config array $config = array(); foreach ($files as $file) { // Merge each file to the configuration array $config = Arr::merge($config, Kohana::load($file)); } } return parent::load($group, $config); } } // End Kohana_Config_File