Vergleich install/resources/upgrade5.php - 1.6.5 - 1.6.9

  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 5299 2010-12-28 23:39:56Z 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();

 
}
?>

}
?>