Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function loadcom($class){
- $file = "components/" . $class . ".php";
- if(is_readable($file)){
- require_once($file);
- }
- }
- function loadcore($class){
- $file = "core/" . $class . ".php";
- if(is_readable($file)){
- require_once($file);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement