Changeset 2512 for trunk/install


Ignore:
Timestamp:
Sep 9, 2008, 3:16:32 AM (16 years ago)
Author:
rvelices
Message:
  • fix issue when picture_url_style = file (sql query like)
  • sql call SET NAMES "xxx" (if required) in upgrade.php, upgrade_feed.php and after 65-database.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/db/65-database.php

    r2299 r2512  
    299299  define('DB_COLLATE',  '');
    300300
     301  if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') and DB_CHARSET!='' )
     302  {
     303    pwg_query('SET NAMES "'.DB_CHARSET.'"');
     304  }
     305
    301306  echo $upgrade_log;
    302307  $fp = @fopen( PHPWG_ROOT_PATH.'upgrade65.log', 'w' );
Note: See TracChangeset for help on using the changeset viewer.