File: APP/bootstrap.php

Recommend this page to a friend!
  Classes of Taranpreet Singh  >  PHP End Game Engine Website  >  APP/bootstrap.php  >  Download  
File: APP/bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP End Game Engine Website
Build Web sites for promoting games
Author: By
Last change:
Date: 1 year ago
Size: 392 bytes
 

Contents

Class file image Download
<?php
session_start
();
header("Access-Control-Allow-Origin: *");
//Load Configs
require_once '../APP/config/Config.php';

//Load Functions
require_once '../APP/functions/functions.php';

//Autoload Everything
spl_autoload_register(function($className) {

   
$className = str_replace("\\", '/', $className);
    include_once
'../' . $className . '.php';

});

//Init Core
$app = new APP\Core\Core;


For more information send a message to info at phpclasses dot org.