forked from are0h/tapes
		
	
		
			
	
	
		
			11 lines
		
	
	
	
		
			252 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
	
		
			252 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								spl_autoload_register(function ($className) {
							 | 
						||
| 
								 | 
							
								    $file = dirname(__DIR__) . "\\" . $className . ".php";
							 | 
						||
| 
								 | 
							
								    $file = str_replace("\\", DIRECTORY_SEPARATOR, $file);
							 | 
						||
| 
								 | 
							
								    //echo $file;
							 | 
						||
| 
								 | 
							
								    if (file_exists($file)) {
							 | 
						||
| 
								 | 
							
								        include $file;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								});
							 |