Class Map Autoloader

Add-ons Class Map Autoloader 1.0.0

Register & Get access to index
Compatible XF Versions
1.3 , 1.4
Visible Branding
No
So apparently a class map MIGHT be faster in some instances so I just winged it and got classmaps working in XenForo.
I honestly have not done any performance testing so if anyone want's to test it out that would be awesome :D

It will only call the class map for whatever initializing file you choose (index.php, admin.php).

To install, just upload the files and install the XML.
Open up index.php in your XenForo root and change this line:

Code:
require($fileDir . '/library/XenForo/Autoloader.php');

to this:

Code:
require($fileDir . '/library/ClassMapAutoloader/Autoloader.php');

And you're done!

You can go to Tools in the admin panel and click to rebuild the class map manually.
It will normally be rebuilt when any add-on is installed or uninstalled to make sure it is up-to-date for normal users.
Author
XenBot
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenBot

Back
Top Bottom