Changeset 7
- Timestamp:
- 09/18/07 14:03:35 (1 year ago)
- Files:
-
- trunk/src/config/boot.php (modified) (1 diff)
- trunk/src/config/environments/development.php (modified) (1 diff)
- trunk/src/config/environments/production.php (modified) (1 diff)
- trunk/src/config/environments/testing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/config/boot.php
r6 r7 29 29 defined('AK_COMPILED_VIEWS_DIR') ? null : define('AK_COMPILED_VIEWS_DIR', AK_TMP_DIR.DS.'views'); 30 30 31 define('EDITAM_SHOW_DELETE_ON_PAGE_LISTING', false);32 defined('EDITAM_SITE_NAME') ? null : define('EDITAM_SITE_NAME', 'Editam website');33 define('ACTION_CONTROLLER_DEFAULT_REQUEST_TYPE', 'web_request');34 define('ACTION_CONTROLLER_DEFAULT_ACTION', 'index');35 36 31 require_once(AK_LIB_DIR.DS.'constants.php'); 32 require_once(AK_LIB_DIR.DS.'Ak.php'); 37 33 38 34 ?> trunk/src/config/environments/development.php
r2 r7 20 20 define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 21 21 22 // Here is were we define the paths for the Akelos Framework and for the Editam pplication23 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);24 defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DS.'config'.DS.'environments'.DS.'development.php','',__FILE__));25 define('AK_APP_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam');26 define('AK_CACHE_DIR',AK_BASE_DIR.DS.'includes'.DS.'tmp'.DS.'cache');27 define('AK_COMPONENTS_DIR',AK_BASE_DIR.DS.'includes'.DS.'akelos'.DS.'components');28 define('AK_PUBLIC_DIR', AK_BASE_DIR);29 define('AK_TEST_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'test');30 define('AK_SCRIPT_DIR',AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'script');31 define('AK_FRAMEWORK_DIR', AK_BASE_DIR.DS.'includes'.DS.'akelos');32 define('AK_DEFAULT_LAYOUT', 'application');33 define('AK_TMP_DIR', AK_BASE_DIR.DS.'includes'.DS.'tmp');34 define('AK_COMPILED_VIEWS_DIR', AK_TMP_DIR.DS.'views');35 36 22 37 23 ?> trunk/src/config/environments/production.php
r2 r7 19 19 define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 20 20 21 // Here is were we define the paths for the Akelos Framework and for the Editam pplication22 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);23 defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DS.'config'.DS.'environments'.DS.'production.php','',__FILE__));24 define('AK_APP_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam');25 define('AK_CACHE_DIR',AK_BASE_DIR.DS.'includes'.DS.'tmp'.DS.'cache');26 define('AK_COMPONENTS_DIR',AK_BASE_DIR.DS.'includes'.DS.'akelos'.DS.'components');27 define('AK_PUBLIC_DIR', AK_BASE_DIR);28 define('AK_TEST_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'test');29 define('AK_SCRIPT_DIR',AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'script');30 define('AK_FRAMEWORK_DIR', AK_BASE_DIR.DS.'includes'.DS.'akelos');31 define('AK_DEFAULT_LAYOUT', 'application');32 define('AK_TMP_DIR', AK_BASE_DIR.DS.'includes'.DS.'tmp');33 define('AK_COMPILED_VIEWS_DIR', AK_TMP_DIR.DS.'views');34 35 21 36 22 ?> trunk/src/config/environments/testing.php
r2 r7 21 21 define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 22 22 23 // Here is were we define the paths for the Akelos Framework and for the Editam pplication24 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);25 defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DS.'config'.DS.'environments'.DS.'testing.php','',__FILE__));26 define('AK_APP_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam');27 define('AK_CACHE_DIR',AK_BASE_DIR.DS.'includes'.DS.'tmp'.DS.'cache');28 define('AK_COMPONENTS_DIR',AK_BASE_DIR.DS.'includes'.DS.'akelos'.DS.'components');29 define('AK_PUBLIC_DIR', AK_BASE_DIR);30 define('AK_TEST_DIR', AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'test');31 define('AK_SCRIPT_DIR',AK_BASE_DIR.DS.'includes'.DS.'editam'.DS.'script');32 define('AK_FRAMEWORK_DIR', AK_BASE_DIR.DS.'includes'.DS.'akelos');33 define('AK_DEFAULT_LAYOUT', 'application');34 define('AK_TMP_DIR', AK_BASE_DIR.DS.'includes'.DS.'tmp');35 define('AK_COMPILED_VIEWS_DIR', AK_TMP_DIR.DS.'views');36 23 37 24 ?>
