Changeset 7

Show
Ignore:
Timestamp:
09/18/07 14:03:35 (1 year ago)
Author:
bermi
Message:

Fixing relative paths upon configuration.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/config/boot.php

    r6 r7  
    2929defined('AK_COMPILED_VIEWS_DIR') ? null : define('AK_COMPILED_VIEWS_DIR', AK_TMP_DIR.DS.'views'); 
    3030 
    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  
    3631require_once(AK_LIB_DIR.DS.'constants.php'); 
     32require_once(AK_LIB_DIR.DS.'Ak.php'); 
    3733 
    3834?> 
  • trunk/src/config/environments/development.php

    r2 r7  
    2020define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 
    2121 
    22 // Here is were we define the paths for the Akelos Framework and for the Editam pplication 
    23 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  
    3622 
    3723?> 
  • trunk/src/config/environments/production.php

    r2 r7  
    1919define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 
    2020 
    21 // Here is were we define the paths for the Akelos Framework and for the Editam pplication 
    22 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  
    3521 
    3622?> 
  • trunk/src/config/environments/testing.php

    r2 r7  
    2121define('AK_ACTION_CONTROLLER_DEFAULT_ACTION', 'index'); 
    2222 
    23 // Here is were we define the paths for the Akelos Framework and for the Editam pplication 
    24 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'); 
    3623         
    3724?>