PHP Classes

File: fox/constants.php

Recommend this page to a friend!
  Classes of Joubert RedRat   Fox micro framework   fox/constants.php   Download  
File: fox/constants.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Fox micro framework
Model View Controller micro-framework
Author: By
Last change: Update of fox/constants.php
Date: 1 year ago
Size: 587 bytes
 

Contents

Class file image Download
<?php
/**
 * Framework constants
 *
 * @author Joubert <eu+fot@redrat.com.br>
 * @license: MIT
 * @see https://github.com/joubertredrat/fox/
 */

namespace Fox;

define('APP_PATH', getValidPath(__DIR__, '..', 'app'));
define('CONFIG_PATH', getValidPath(APP_PATH, 'conf'));
define('MODEL_PATH', getValidPath(APP_PATH, 'model'));
define('VIEW_PATH', getValidPath(APP_PATH, 'view'));
define('CONTROLLER_PATH', getValidPath(APP_PATH, 'controller'));
define('LOG_PATH', getValidPath(APP_PATH, 'logs'));
define('STORE_PATH', getValidPath(APP_PATH, 'store'));