Changeset 933

Show
Ignore:
Timestamp:
07/23/08 09:02:39 (3 months ago)
Author:
arnoschn
Message:

updating default config files for backend testing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/arnoschn/cache/script/extras/DEFAULT-mysql-testing.php

    r908 r933  
    1212 
    1313$database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 
    14  
     14defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 
    1515defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 
    1616defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php','',__FILE__)); 
    17 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost/test/fixtures/public'); 
     17defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 
     18defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 
    1819define('AK_LOG_EVENTS', true); 
    19  
     20defined('AK_TMP_DIR') ? null : define('AK_TMP_DIR', AK_BASE_DIR.DS.'test'.DS.'tmp'); 
    2021include('fix_htaccess.php'); 
    2122 
  • branches/arnoschn/cache/script/extras/DEFAULT-postgres-testing.php

    r908 r933  
    33$database_settings = array( 
    44'testing' => array( 
    5     'type' => 'sqlite', 
     5    'type' => 'pgsql', 
    66    'host' => 'localhost', 
    77    'database_file'=>'/tmp/akelos.sqlite', 
     
    1313 
    1414$database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 
    15  
     15defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 
    1616defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 
    1717defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php','',__FILE__)); 
    18 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost/test/fixtures/public'); 
     18defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 
     19defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 
    1920define('AK_LOG_EVENTS', true); 
    2021 
  • branches/arnoschn/cache/script/extras/DEFAULT-sessions.yml

    r906 r933  
    44    options:  
    55           lifeTime: 3600 
     6           save_path: ${AK_TMP_DIR} 
  • branches/arnoschn/cache/script/extras/DEFAULT-sqlite-testing.php

    r908 r933  
    33$database_settings = array( 
    44'testing' => array( 
    5     'type' => 'postgres', 
     5    'type' => 'sqlite', 
    66    'host' => 'localhost', 
    77    'database_name' => 'framework_tests', 
     
    1212 
    1313$database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 
    14  
     14defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 
    1515defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 
    1616defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php','',__FILE__)); 
    17 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost/test/fixtures/public'); 
     17defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 
     18defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 
    1819define('AK_LOG_EVENTS', true); 
    1920