Feature Request #2980

Unable to use include_path when setting up SYSPATH

Added by Konstantin Kostyk over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:06/20/2010
Priority:NormalDue date:
Assignee:Woody Gilk% Done:


Target version:v3.0.7
Resolution:wontfix Points:


In my current setting things looks like follows:
Application path is c:/web/gallery
And system path is c:/web/_includes/kohana
In same time i've got include_path = "c:/web/_includes" in my php.ini
So it would be nice if i could set system path just like that $system = '/kohana/system';

Alas, but this wouldn't work in current realization:
define('SYSPATH', realpath($system).DIRECTORY_SEPARATOR);
realpath does not rely on include_path
something like this may be used http://php.net/manual/en/function.realpath.php#78224
so finally it may look like:
define('SYSPATH', mappath($system).DIRECTORY_SEPARATOR);


#1 Updated by Woody Gilk over 4 years ago

  • Target version changed from v3.0.6 to v3.0.7

#2 Updated by Woody Gilk over 4 years ago

  • Category set to Core
  • Status changed from New to Closed
  • Assignee set to Woody Gilk
  • Resolution set to wontfix

Kohana has never used include paths and we don't support this kind of setup.

Also available in: Atom PDF