A WebTemplate Website's Directory Structure
The structure of a WebTemplate Website's Directory is as follows:
-
{Site ID}
-
.htaccess - routes all requests to index.php (if the requested file does not exist)
-
wtSiteConfig.php - defines the site ID, database, database username and password for the site
-
index.php - includes the WebTemplate core code and passes on the request
-
/code - PHP files which implement custom functionality for the website
-
/templates - templates written with WebTemplate tags defining the layout of the pages
-
/js - javascript files used by the website
-
/css - stylesheets for the website
-
/files - files managed by the file library