Created
December 3, 2017 20:23
-
-
Save tieutantan/949fded768ca9cf8683dd2a9d0558cd8 to your computer and use it in GitHub Desktop.
PHP Autoload Class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
spl_autoload_register(function ($class) { | |
include_once 'core' . DS . strtolower($class) . '.php'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment