sdglhm / dompdf

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

autoloader could be compatible with other packages #352

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
You could use spl_autoload_register() so that your code played better with 
others.
see php.net documentation

Original issue reported on code.google.com by tarekada...@gmail.com on 10 Sep 2011 at 1:05

GoogleCodeExporter commented 9 years ago
Using 0.5.x? We've made significant upgrades to the auto loader for 0.6.0. See 
the new code here:
http://code.google.com/p/dompdf/source/browse/trunk/dompdf/include/autoload.inc.
php

Original comment by eclecticgeek on 10 Sep 2011 at 2:43

GoogleCodeExporter commented 9 years ago
Thanks.

FYI just do a simple include of this file in your autoloader class file :)

Original comment by sfe...@gmail.com on 9 Jan 2013 at 1:14

GoogleCodeExporter commented 9 years ago

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