Commits

Matthew Tretter committed b034d8d

Fixed error when loading an app config file that didn't have a module counterpart.

  • Participants
  • Parent commits 7998bde

Comments (0)

Files changed (1)

File third_party/MX/Config.php

 		
 		$success = parent::load($file, $use_sections, TRUE);
 		
-		if ($config = Modules::load_file($file, $path, 'config')) {
+		if ($path && $config = Modules::load_file($file, $path, 'config')) {
 			
 			/* reference to the config array */
 			$current_config =& $this->config;