devplanete/php-login-advanced — pull request #6 by devplanete (2014-04-20 09:14:52+00:00)
Title: Add SPL autoloader function

Rather than include all classes that can be used by the script at the beginning of execution, I have implemented an SPL autoloader function.

This auto-loading function will be called every time a class is used but not yet loaded.
Login, Registration or PHPMailer classes are loaded only when they are really needed.

Example: The first time that "new Login();" is called, the corresponding php file is loaded.