Class Map Autoloader

Unmaintained Class Map Autoloader 1.0.0

No permission to download
Compatible XF 1.x versions
  1. 1.3
  2. 1.4
  3. 1.5
Additional requirements
PHP 5.3
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.
  • Like
Reactions: masterking
Author
silence
Downloads
23
Views
1,264
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from silence

Top Bottom