Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Sites Directory Structure

zuha edited this page May 15, 2012 · 2 revisions

Complete directory structure of the sites directory. Note : keywords surrounded by {} tags are meant to be replaced with actual data values specific to your install.

sites
 - {SITE NAME} (as stated in /sites/bootstrap.php)
 - - Config
 - - - core.php
 - - - database.php
 - - - defaults.ini
 - - - settings.ini
 - Controller (over write zuha app non-plugin controllers)
 - Model (over write zuha app non-plugin models)
 - Plugin
 - - {PLUGIN NAME} (The entire plugin should be encapsulated here, to over write a zuha app plugin)
 - tmp 
 - - cache
 - - - models
 - - - persistent
 - - - views
 - - logs
 - - - debug.log
 - - - error.log
 - View (over write zuha app non-plugin views)
 - - locale
 - - - en (as set in core.php using the language setting)
 - - - - Plugin
 - - - - - {PLUGIN NAME}
 - - - - - - {PLUGIN CONTROLLER NAME}
 - - - - - - - {VIEW FILE NAME}.ctp (ex. index.ctp)
 - - Themed
 - - - Default 
 - - - - webroot (Admin Users Get Access Here using CKEditor - Hard coded)
 - - - - - css
 - - - - - js
 - - - - - img
 - - - - - upload
 - - - - - - {PLUGIN NAME}
 - - - - - - - {USER ID}
 - - - - - - - - thumb
 - - - - - - {USER ID} ... File Manager Editor Goes Here (for non-admin users)
 - - - - - - - img
 - - - - - - - files
 - - - - - - - etc
 - - - - - favicon.ico
 - - Private ... This directory is not publicly accessible, and can only be accessed with Media::view()
 - - - {PLUGIN NAME}
 - - - - {USER ID}
 - - - - - thumb
 - - - {USER ID}
 - - - - img
 - - - - files

Further Reading

Clone this wiki locally