PHP autoload and smarty 3
I was setting up for some code today. Code which would use, among other things, Smarty 3, since that’s a thing now apparently. (It used to be Smarty 2, but I guess times change and numbers change.)
There’s an __autoload function that I wrote a while ago and often use to, you know, automatically include files when instantiating classes. But it didn’t work at all. The file itself included fine, but the autoload function was not being called.
(more…)