private function loadFile ($file)
	{
		if (!isset ($this->files[$file]))
		{
			$filename = $this->folder . $file . '.php';

			// First load these
			if (file_exists ($filename))
			{
				$this->files[$file] = include ($filename);
			}

			// Now overload with environment values
			if (isset ($this->environment))
			{
				$filename = $this->folder . $this->environment . '/' . $file . '.php';
				if (file_exists ($filename))
				{
					$this->merge ($file, include ($filename));
				}
			}

		}
	}
private function loadFile ($file)
	{
		if (!isset ($this->files[$file]))
		{
			$filename = $this->folder . $file . '.php';

			// First load these
			if (file_exists ($filename))
			{
				$this->files[$file] = include ($filename);
			}

			// Now overload with environment values
			if (isset ($this->environment))
			{
				$filename = $this->folder . $this->environment . '/' . $file . '.php';
				if (file_exists ($filename))
				{
					$this->merge ($file, include ($filename));
				}
			}

		}
	}
private function loadFile ( $ file ) { if ( ! isset ( $ this -> files [ $ file ] ) ) { $ filename = $ this -> folder . $ file . '.php' ; // First load these if ( file_exists ( $ filename ) ) { $ this -> files [ $ file ] = include ( $ filename ) ; } // Now overload with environment values if ( isset ( $ this -> environment ) ) { $ filename = $ this -> folder . $ this -> environment . '/' . $ file . '.php' ; if ( file_exists ( $ filename ) ) { $ this -> merge ( $ file , include ( $ filename ) ) ; } } } }
Load a file in case it's not loaded yet.
@param $file
Load a file in case it s not loaded yet .