Changeset 463 for trunk/install.php


Ignore:
Timestamp:
Jul 28, 2004, 7:21:58 PM (20 years ago)
Author:
gweltas
Message:

Installation procedure update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r405 r463  
    3232function guess_lang()
    3333{
     34  return 'en_UK.iso-8859-1';
    3435  global $_SERVER;
    3536  $languages = array();
     
    256257   
    257258    // tables creation, based on phpwebgallery_structure.sql
    258     execute_sqlfile( './install/phpwebgallery_structure.sql'
     259    execute_sqlfile( PHPWG_ROOT_PATH.'install/phpwebgallery_structure.sql'
    259260                     , 'phpwebgallery_'
    260261                     , $table_prefix );
    261262    // We fill the tables with basic informations
    262     execute_sqlfile( './install/config.sql'
     263    execute_sqlfile( PHPWG_ROOT_PATH.'install/config.sql'
    263264                     , 'phpwebgallery_'
    264265                     , $table_prefix );
     
    283284   
    284285    $query = 'INSERT INTO '.SITES_TABLE;
    285     $query.= " (id,galleries_url) VALUES (1, './galleries/');";
     286    $query.= " (id,galleries_url) VALUES (1, ".PHPWG_ROOT_PATH."'galleries/');";
    286287    mysql_query( $query );
    287288   
Note: See TracChangeset for help on using the changeset viewer.