Login   Register  
PHP Classes
elePHPant
Icontem

File: includes/defines.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: English commets adds, fixed some bugs
Initial commit.
Date: 1 month ago
Size: 624 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
 */
defined('DACCESS') or die('Acceso restringido!');

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

/* main system paths */
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);