1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Beta Class Map Autoloader 1.0.0

Builds a Class Map for XenForo!

  1. silence
    Compatible XF 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 :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.
    ugurkn likes this.