Project

General

Profile

« Previous | Next » 

Revision 198

Added by ryan about 19 years ago

Fixed template install problem

View differences:

install.php
111 111

  
112 112
// Chmod all the uploaded files
113 113
$dir = dir($template_dir);
114
while (false !== $entry = $dir->read()) {
114
while(false !== $entry = $dir->read()) {
115 115
	// Skip pointers
116 116
	if(substr($entry, 0, 1) != '.' AND $entry != '.svn' AND !is_dir($template_dir.'/'.$entry)) {
117 117
		// Chmod file
......
120 120
}
121 121

  
122 122
// Load template info into DB
123
load_module(WB_PATH.'/templates/'.$template_directory);
123
load_module($template_dir);
124 124

  
125 125
// Print success message
126 126
$admin->print_success($success_message);

Also available in: Unified diff