- Compatible XF 1.x versions
- 1.3
- 1.4
- 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
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:
to this:
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.
I honestly have not done any performance testing so if anyone want's to test it out that would be awesome
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');
Code:
require($fileDir . '/library/ClassMapAutoloader/Autoloader.php');
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.