Changeset 513 for trunk/install.php


Ignore:
Timestamp:
Sep 4, 2004, 12:05:31 AM (20 years ago)
Author:
z0rglub
Message:
  • in admin/configuration, add new step with "sections" (general, comments, default, upload, metadata, sessions)
  • admin/configuration.php and its template have been higly simplificated by making things more generic : for example, for each configuration parameter, its name must correspond to the name we find in the config table and belongs to a section, in the lang array we find :
  • more described message when connection to database server is impossible
  • redefinitions of get_languages and get_templates functions
  • deletion of configuration parameters : webmaster, session_keyword
  • rename of configuration parameters :
  • default_lang => default_language
  • default_style => default_template
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r483 r513  
    266266
    267267    $query = 'UPDATE '.CONFIG_TABLE;
    268     $query.= " SET value = '".$admin_name."'";
    269     $query.= " WHERE param = 'webmaster'";
    270     $query.= ';';
    271     mysql_query( $query );
    272 
    273     $query = 'UPDATE '.CONFIG_TABLE;
    274268    $query.= " SET value = '".$admin_mail."'";
    275269    $query.= " WHERE param = 'mail_webmaster'";
     
    277271    mysql_query( $query );
    278272       
    279         $query = 'UPDATE '.CONFIG_TABLE;
     273    $query = 'UPDATE '.CONFIG_TABLE;
    280274    $query.= " SET value = '".$language."'";
    281     $query.= " WHERE param = 'default_lang'";
     275    $query.= " WHERE param = 'default_language'";
    282276    $query.= ';';
    283277    mysql_query( $query );
Note: See TracChangeset for help on using the changeset viewer.