includes/paths.php
changeset 510 290fa071842a
parent 507 586fd7d3202d
child 515 be77f34d03af
equal deleted inserted replaced
509:175df10e0b56 510:290fa071842a
   652   {
   652   {
   653     global $db, $session, $paths, $template, $plugins; // Common objects
   653     global $db, $session, $paths, $template, $plugins; // Common objects
   654     
   654     
   655     @set_time_limit(0);
   655     @set_time_limit(0);
   656     
   656     
   657     $q = $db->sql_query('DELETE FROM search_index;');
   657     $q = $db->sql_query('DELETE FROM ' . table_prefix . 'search_index;');
   658     if ( !$q )
   658     if ( !$q )
   659       $db->_die();
   659       $db->_die();
   660     
   660     
   661     $sha1_blank = sha1('');
   661     $sha1_blank = sha1('');
   662     $query_func = ( ENANO_DBLAYER == 'MYSQL' ) ? 'mysql_query' : 'pg_query';
   662     $query_func = ( ENANO_DBLAYER == 'MYSQL' ) ? 'mysql_query' : 'pg_query';