File: base/config/loader.php

Recommend this page to a friend!
  Classes of Carlos Eduardo Barcelos Amaral  >  Base MVC Framework  >  base/config/loader.php  >  Download  
File: base/config/loader.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Base MVC Framework
MVC framework to be the base of Web applications
Author: By
Last change: Base – 1.0.0-alpha.5

Implementando sistema de Rotas, versão totalmente instável.
Date: 5 years ago
Size: 639 bytes
 

Contents

Class file image Download
<?php

  
/**
    * Separador de diretrio: /
    *
    * @const string(1)
    */
  
if(!defined('DS'))
     
define('DS', '/'); // DIRECTORY_SEPARATOR

   /**
    * Repositrio de funes
    */
  
require_once __DIR__.DS.'repository.php';

  
/**
    * Constantes padres do sistema
    */
  
require_once __DIR__.DS.'constants.php';

  
/**
    * Auto Load do framework
    */
  
require_once __DIR__.DS.'autoload.php';

  
/**
    * Auto Load de pacotes
    */
  
if (is_readable(ROOT . DS . 'vendor' . DS . 'autoload.php'))
      include
ROOT . DS . 'vendor' . DS . 'autoload.php';

  
//require_once __DIR__.DS.'config.php';

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