Changeset 463 for trunk/install.php
- Timestamp:
- Jul 28, 2004, 7:21:58 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.