PHP Classes

File: samples/cakephp/config/paths.php

Recommend this page to a friend!
  Packages of Jonatas Matheus Gino de Souza   PHP Service Runner   samples/cakephp/config/paths.php   Download  
File: samples/cakephp/config/paths.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP Service Runner
Invoke services using payload data as parameters
Author: By
Last change:
Date: 11 days ago
Size: 656 bytes
 

Contents

Class file image Download
<?php

if (!defined('DS')) {
   
define('DS', DIRECTORY_SEPARATOR);
}

define('ROOT', dirname(__DIR__));
define('APP_DIR', 'src');
define('APP', ROOT . DS . APP_DIR . DS);
define('CONFIG', ROOT . DS . 'config' . DS);
define('WWW_ROOT', ROOT . DS . 'webroot' . DS);
define('TESTS', ROOT . DS . 'tests' . DS);
define('TMP', ROOT . DS . 'tmp' . DS);
define('LOGS', ROOT . DS . 'logs' . DS);
define('CACHE', TMP . 'cache' . DS);
define('RESOURCES', ROOT . DS . 'resources' . DS);
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp');
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
define('CAKE', CORE_PATH . 'src' . DS);