Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2. spl_autoload_register(function($className)
  3. {
  4.     $fileName = str_replace('\\', '/', ltrim($className, '\\')) . '.php';
  5.    
  6.     if (file_exists($fileName)){
  7.         require $fileName;
  8.         return class_exists($className, false);
  9.     }
  10.     return false;
  11.    
  12. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top