Changeset 2434
- Timestamp:
- 09/03/08 03:50:25 (3 months ago)
- Location:
- branches/schema06
- Files:
-
- 2 modified
-
index.php (modified) (2 diffs)
-
system/classes/adminhandler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/schema06/index.php
r2211 r2434 125 125 // Set the default locale. 126 126 Locale::set( isset($locale) ? $locale : 'en-us' ); 127 128 Locale::set_timezone( isset($timezone) ? $timezone : 'UTC' ); 127 129 128 130 if ( !defined( 'DEBUG' ) ) define( 'DEBUG', false ); … … 154 156 { 155 157 Locale::set( 'en-us' ); 158 Locale::set_timezone( 'UTC' ); 159 156 160 if ( !defined( 'DEBUG' ) ) define( 'DEBUG', false ); 157 161 // The configuration file does not exist. -
branches/schema06/system/classes/adminhandler.php
r2408 r2434 37 37 exit; 38 38 } 39 /* TODO: update ACL class so that this works 39 40 if ( !$user->can( 'admin' ) ) { 40 41 die( _t( 'Permission denied.' ) ); 41 } 42 }*/ 42 43 $last_form_data= Session::get_set( 'last_form_data' ); // This was saved in the "if ( !$user )" above, UserHandler transferred it properly. 43 44 /* At this point, Controller has not created handler_vars, so we have to modify $_POST/$_GET. */
