- Timestamp:
- Jul 28, 2004, 7:21:58 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/constants.php
r423 r463 25 25 // | USA. | 26 26 // +-----------------------------------------------------------------------+ 27 28 // Default Language 29 define('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); 27 30 28 31 // Debug Level -
trunk/include/functions_user.inc.php
r452 r463 219 219 if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language . '/common.lang.php')) ) 220 220 { 221 $language = 'en_EN';221 $language = DEFAULT_LANGUAGE; 222 222 } 223 223 include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/common.lang.php'); … … 228 228 if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language. '/admin.lang.php')) ) 229 229 { 230 $language = 'en_EN';230 $language = DEFAULT_LANGUAGE; 231 231 } 232 232 include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/admin.lang.php'); -
trunk/include/user.inc.php
r452 r463 36 36 'template', 'forbidden_categories' ); 37 37 38 $query_user = 'SELECT '.implode( ',', $infos ); 39 $query_user.= ' FROM '.USERS_TABLE; 38 $query_user = 'SELECT * FROM '.USERS_TABLE; 40 39 $query_done = false; 41 40 $user['is_the_guest'] = false; -
trunk/install.php
r405 r463 32 32 function guess_lang() 33 33 { 34 return 'en_UK.iso-8859-1'; 34 35 global $_SERVER; 35 36 $languages = array(); … … 256 257 257 258 // tables creation, based on phpwebgallery_structure.sql 258 execute_sqlfile( './install/phpwebgallery_structure.sql'259 execute_sqlfile( PHPWG_ROOT_PATH.'install/phpwebgallery_structure.sql' 259 260 , 'phpwebgallery_' 260 261 , $table_prefix ); 261 262 // We fill the tables with basic informations 262 execute_sqlfile( './install/config.sql'263 execute_sqlfile( PHPWG_ROOT_PATH.'install/config.sql' 263 264 , 'phpwebgallery_' 264 265 , $table_prefix ); … … 283 284 284 285 $query = 'INSERT INTO '.SITES_TABLE; 285 $query.= " (id,galleries_url) VALUES (1, './galleries/');";286 $query.= " (id,galleries_url) VALUES (1, ".PHPWG_ROOT_PATH."'galleries/');"; 286 287 mysql_query( $query ); 287 288 -
trunk/install/config.sql
r452 r463 4 4 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('webmaster','','webmaster login'); 5 5 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('mail_webmaster','','webmaster mail'); 6 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_lang','en_ EN','Default gallery language');6 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_lang','en_UK.iso-8859-1','Default gallery language'); 7 7 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('default_style','default','Default gallery style'); 8 8 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('access','free','access type to your gallery (free|restricted)');
Note: See TracChangeset
for help on using the changeset viewer.