PHP Classes

File: includes/defines.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 defines.php
Date: 1 year ago
Size: 626 bytes


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

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);