jobo: Codeausschnittverständnis in Fuel/Kohana-Framework

Beitrag lesen

Hallo,

"Fatal error: require_once(): Failed opening required '\bootstrap.php' (include_path='.;D:\xampplite\php\PEAR') in C:\Users\rob\Desktop\fuel-1.0-rc2.1\fuel-1.0-rc2.1\public\index.php on line 39"

Muss es dann aber nicht heißen:

if (! is_dir($app_path)) {
if ( ! is_dir($app_path = DOCROOT . $app_path ) ){
throw new Exception("Application Path not correct - Script Termination at line " . LINE );
}
}

  
  
was bei CodeIgniter ja gemacht wird:  
  
~~~php
  
	// The path to the "application" folder  
	if (is_dir($application_folder))  
	{  
		define('APPPATH', $application_folder.'/');  
	}  
	else  
	{  
		if ( ! is_dir(BASEPATH.$application_folder.'/'))  
		{  
			exit("Your application folder path does not appear to be set correctly. Please open the following file and correct this: ".SELF);  
		}  
  
		define('APPPATH', BASEPATH.$application_folder.'/');  
	}  

allerdings mit ."/" statt . DIRECTORY_SEPARATOR;

Gruß

jobo