Re: [fw-general] Calling exter nal autoload function – how to?

2009-04-12 Thread bytte
Thanks so much Matthew. For the record and the people that use Nabble to find information about this topic: this is the code used that works: function My_DOMPDF_Autoload($class) { $filename = include . '/' . mb_strtolower($class) . '.cls.php'; if

Re: [fw-general] Calling exter nal autoload function – how to?

2009-04-10 Thread bytte
Thanks. But I'm confused. Early on in my bootstrap I have this code: set_include_path('.' . PATH_SEPARATOR . '../library/' . PATH_SEPARATOR . '../application/models' . PATH_SEPARATOR . '../application/forms' . PATH_SEPARATOR . '../library/dompdf-0.5.1' . PATH_SEPARATOR . get_include_path());

Re: [fw-general] Calling exter nal autoload function – how to?

2009-04-10 Thread bytte
But then I get these errors everywhere: Warning: require_once(/Users/xxx/Sites/zf-test/library/dompdf-0.5.1/include/zend_config_ini.cls.php) [function.require-once]: failed to open stream: No such file or directory in /Users/xxx/Sites/zf-test/library/dompdf-0.5.1/dompdf_config.inc.php on line