Project

General

Profile

« Previous | Next » 

Revision 249

Added by stefan over 18 years ago

Fixed a problem with the install script that occur when non-stock modules are already present and use $admin->print_error().

View differences:

functions.php
680 680

  
681 681
// Load module into DB
682 682
function load_module($directory, $install = false) {
683
	global $database;
683
	global $database,$admin,$MESSAGE;
684 684
	if(file_exists($directory.'/info.php')) {
685 685
		require($directory.'/info.php');
686 686
		if(isset($module_name)) {

Also available in: Unified diff