Project

General

Profile

« Previous | Next » 

Revision 1232

Added by Dietmar over 14 years ago

fix Warning: stristr() [function.stristr]

View differences:

upgrade-script.php
225 225
$OK   = '<span class="ok">OK</span>';
226 226
$FAIL = '<span class="error">FAILED</span>';
227 227
$check_text = 'total ';
228
$check_tables = mysqlCheckTables( DB_NAME ) ;
229
if(sizeof($check_tables) == 22)
228
// $check_tables = mysqlCheckTables( DB_NAME ) ;
229
if(sizeof($all_tables) == 22)
230 230
{
231
    echo '<h4>NOTICE: Your database '.DB_NAME.' has '.sizeof($check_tables).' '.$check_text.' tables from 22 included in package</h4>';
231
    echo '<h4>NOTICE: Your database '.DB_NAME.' has '.sizeof($all_tables).' '.$check_text.' tables from '.sizeof($table_list).' included in package</h4>';
232 232
}
233 233
else
234 234
{

Also available in: Unified diff