mały "tutorialik"

Jest jednak na to sposób. Nie wiem czy moża zrobić to fajniej bez ingerencji w pliki systemowe ale moje rozwiązanie działa i tyle mi wystarczy (wersji Kohany nie mam zamiaru na razie zmieniać).
W pliku system/core/Kohana.php należy zmienić linijki (w okolicach linii 1050):
if ($filename = self::find_file($type, $file))
{
// Load the class
require $filename;
}
else
{
// The class could not be found
return FALSE;
}
na:
if ($filename = self::find_file($type, $file))
{
// Load the class
require $filename;
}
else
{
// The class could not be found
// by phpion
//return FALSE;
//
$class_as_path = str_replace('_', '/', $class);
if ($class_as_path !== $class) {
return Kohana::auto_load($class_as_path);
}
else {
return FALSE;
}
//
}
i można cieszyć się usprawnionym autoloadingiem 8)