sdglhm / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

autoload config. #366

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dompdf to do:

Use multiple autoload functions in PHP version >= 5.3

Do you have an example:

file: dompdf_config.inc.php
...

else if ( version_compare(PHP_VERSION, '5.3', '>=') ) {
    $funcs[] = $autoload;
    foreach($funcs as $autoload){
        spl_autoload_register($autoload, true, true); 
    }
  }

...

Original issue reported on code.google.com by aamm89@gmail.com on 16 Oct 2011 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
We already use the SPL autoloader : 
http://code.google.com/p/dompdf/source/browse/trunk/dompdf/include/autoload.inc.
php

Or I didn't understand your problem.

Original comment by fabien.menager on 23 Oct 2011 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16