Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- spl_autoload_register(function($class_name){
- $filename = $class_name. ".php";
- if (file_exists($filename)) {
- require_once($filename);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement