Difference between revisions of "Userlevel:Admin:Technical Documentation - Websites:File Structure"

From ShareHim Documentation
Jump to: navigation, search
(Created page with '= File Structure - sharehim.org = == Root == {| cellspacing="0" cellpadding="8" border="1" |- | / | *.htaccess<br> *favicon.ico<br> *robots.txt<br> *go.php<br> *the r…')
(No difference)

Revision as of 20:54, 2 December 2011

File Structure - sharehim.org

Root

/

  • .htaccess
  • favicon.ico
  • robots.txt
  • go.php
  • the rest is WordPress files
/wp-admin/
/wp-content/
/wp-includes/

Folders that belong to WordPress.

wp-content holds all ShareHim specific content, the remaining two folders are WordPress system files only.

/php/

Basically everything on the dynamic ShareHim website is under this folder.

/php/files/uploads_shortlife/

Folder for holding files with a "short life", which means that they are obsolete shortly after they have been created and can be overwritten at anytime.

It is made for the purpose of uploading files that are to be attached to e-mails, but can be use for any kind of "short-lived" file.

There is a PHP script (scheduled_cleanup_shortlife_files.php) that deletes files that are older than 5 days.

/help

Holds this MediaWiki system


PHP folder (custom website)

/php/

All pages that are accessed (usually used directly in the URL)

/php/ini.php

A global initialization file (bootstrap) that is included as the first file in every PHP script, and holds project settings (those that are not in the database table system_settings).

/php/ini_ctl.php

A global initialization

/php/ini_serverconfig.php

Configuration file that pertains to the specific server that the website is running on.

It is included into ini.php


Permissions

FOLDER+SUB /files read/write permission
FOLDER /email_templates/specific read/write permission
FOLDER+SUB /docs read/write permission
FOLDER+SUB /multimedia read/write permission
FOLDER+SUB /pdf_generated read/write permission
FOLDER /upload/filesXU77 read/write permission