Changeset 933
- Timestamp:
- 07/23/08 09:02:39 (3 months ago)
- Files:
-
- branches/arnoschn/cache/script/extras/DEFAULT-mysql-testing.php (modified) (1 diff)
- branches/arnoschn/cache/script/extras/DEFAULT-postgres-testing.php (modified) (2 diffs)
- branches/arnoschn/cache/script/extras/DEFAULT-sessions.yml (modified) (1 diff)
- branches/arnoschn/cache/script/extras/DEFAULT-sqlite-testing.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/arnoschn/cache/script/extras/DEFAULT-mysql-testing.php
r908 r933 12 12 13 13 $database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 14 14 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 15 15 defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 16 16 defined('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'); 17 defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 18 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 18 19 define('AK_LOG_EVENTS', true); 19 20 defined('AK_TMP_DIR') ? null : define('AK_TMP_DIR', AK_BASE_DIR.DS.'test'.DS.'tmp'); 20 21 include('fix_htaccess.php'); 21 22 branches/arnoschn/cache/script/extras/DEFAULT-postgres-testing.php
r908 r933 3 3 $database_settings = array( 4 4 'testing' => array( 5 'type' => ' sqlite',5 'type' => 'pgsql', 6 6 'host' => 'localhost', 7 7 'database_file'=>'/tmp/akelos.sqlite', … … 13 13 14 14 $database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 15 15 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 16 16 defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 17 17 defined('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'); 18 defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 19 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 19 20 define('AK_LOG_EVENTS', true); 20 21 branches/arnoschn/cache/script/extras/DEFAULT-sessions.yml
r906 r933 4 4 options: 5 5 lifeTime: 3600 6 save_path: ${AK_TMP_DIR} branches/arnoschn/cache/script/extras/DEFAULT-sqlite-testing.php
r908 r933 3 3 $database_settings = array( 4 4 'testing' => array( 5 'type' => ' postgres',5 'type' => 'sqlite', 6 6 'host' => 'localhost', 7 7 'database_name' => 'framework_tests', … … 12 12 13 13 $database_settings['development'] = $database_settings['production'] = $database_settings['testing']; 14 14 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); 15 15 defined('AK_ENVIRONMENT') ? null : define('AK_ENVIRONMENT', 'testing'); 16 16 defined('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'); 17 defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', str_replace(DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php',DS.'..'.DS,__FILE__)); 18 defined('AK_TESTING_URL') ? null : define('AK_TESTING_URL', 'http://localhost:8181/test/fixtures/public'); 18 19 define('AK_LOG_EVENTS', true); 19 20
