Project

General

Profile

« Previous | Next » 

Revision 181

Added by ryan about 19 years ago

Fixed minor module-loading bug on install

View differences:

save.php
587 587
			while(false !== ($file = readdir($handle))) {
588 588
				if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'admin.php' AND $file != 'index.php') {
589 589
					// Get addon type
590
					if($type == 'module') {
590
					if($type == 'modules') {
591 591
						load_module($dir.'/'.$file, true);
592 592
					} elseif($type == 'templates') {
593 593
						load_template($dir.'/'.$file);

Also available in: Unified diff