PHP Classes

File: includes/defines.php

Recommend this page to a friend!
  Classes of Unay Santisteban   Simple Framework   includes/defines.php   Download  
File: includes/defines.php
Role: Configuration script
Content type: text/plain
Description: Auxiliary script
Class: Simple Framework
Framework to implement MVC based Web applications
Author: By
Last change: Update of includes/defines.php
Date: 8 months ago
Size: 626 bytes
 

Contents

Class file image Download
<?php defined('DACCESS') or die ('Acceso restringido!');
/**
 * Definition of system paths.
 * @author David Unay Santisteban <slavepens@gmail.com>
 * @package SlaveFramework
 * @version 1.0
 */

define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(dirname(__FILE__)));

/* main system paths */
define ('LIBRARIES_PATH', ROOT.DS.'libraries'.DS);
define ('INCLUDE_PATH', ROOT.DS.'includes'.DS);
define ('SYSTEM_PATH', ROOT.DS.'system'.DS);
define ('CTRLS_PATH', ROOT.DS.'controllers'.DS);
define ('MODLS_PATH', ROOT.DS.'models'.DS);
define ('VIEWS_PATH', ROOT.DS.'views'.DS);
define ('LANG_PATH', ROOT.DS.'languages'.DS);