Vergleich install/resources/upgrade5.php - 1.6.3 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: upgrade5.php 5440 2011-04-15 10:18:35Z Tomm $

 * $Id$

 */

/**

 */

/**

Zeile 612Zeile 612
			$db->create_fulltext_index("posts", "message");
}
}

			$db->create_fulltext_index("posts", "message");
}
}


// Register a shutdown function which actually tests if this functionality is working
add_shutdown('test_shutdown_function');

 

$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);
$output->print_footer("5_done");


$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);
$output->print_footer("5_done");

}



function test_shutdown_function()
{
global $db;
$db->update_query("settings", array('value' => 'yes'), "name='useshutdownfunc'");
write_settings();

 
}
?>

}
?>