Changeset 4151
- Timestamp:
- Fri Dec 9 12:08:52 2005
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/campsite/implementation/utils/campsite-create-instance.php
r4138 r4151 266 266 $version = "2.3.x"; 267 267 } 268 if (!$res2 = mysql_query(" DESC UserTypes InitializeTemplateEngine"))268 if (!$res2 = mysql_query("SHOW TABLES LIKE 'UserConfig'")) 268 268 return "Unable to query the database $p_db_name"; 269 269 if (mysql_num_rows($res2) > 0) { 353 353 'THUMBNAILS_DIR'=>$instance_www_dir . "/html/images/thumbnails", 354 354 'TEMPLATES_DIR'=>$instance_www_dir . "/html/look", 355 'CGI_DIR'=>$instance_www_dir . "/cgi-bin"); 355 'CGI_DIR'=>$instance_www_dir . "/cgi-bin", 356 'ATTACHMENTS_DIR'=>$instance_www_dir . "/html/files"); 356 357 // create directories 357 358 foreach ($instance_dirs as $dir_type=>$dir_name)