From ca3bebc5b293d4ca203544804d3e2b9f67cbead0 Mon Sep 17 00:00:00 2001 From: "mike.morgan%oregonstate.edu" Date: Sat, 28 Jan 2006 22:14:43 +0000 Subject: [PATCH] Modified config-dist.php. git-svn-id: svn://10.0.0.236/trunk@188403 18797224-902f-48f8-a5cc-f745e15eee43 --- .../addons/public/inc/config-dist.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/mozilla/webtools/addons/public/inc/config-dist.php b/mozilla/webtools/addons/public/inc/config-dist.php index ba5447f779d..fc80bef65fe 100644 --- a/mozilla/webtools/addons/public/inc/config-dist.php +++ b/mozilla/webtools/addons/public/inc/config-dist.php @@ -11,18 +11,22 @@ define('DISPLAY_ERRORS',1); define('ERROR_REPORTING',2047); +// This is the base of the URL. It includes https|http. +define('HTTP_HOST','https://YOURHOST.DOMAIN.TLD'); + // This is the root directory for public. -define('ROOT_PATH','/home/morgamic/public_html/v2/public'); +define('ROOT_PATH','/file/path/to/public'); // This is the web path from the hostname. -// In production, it's typically just "". -define('WEB_PATH','/~morgamic/v2/public/htdocs'); - -// The repository directory is the place to store all addons binaries. -define('REPO_DIR',ROOT_PATH.'/files'); +// In production, it's typically just ''. +// However, if the URL to your installation is something like: +// https://update-staging.mozilla.org/~morgamic/v2/public/htdocs/ +// Then WEB_PATH would be: +// /~morgamic/v2/public/htdocs +define('WEB_PATH','/web/relative/path/to/htdocs'); // Shared library directory contains all class definitions and central code. -define('LIB','/home/morgamic/public_html/v2/shared/lib'); +define('LIB','/file/path/to/shared/lib'); // Smarty configuration. define('SMARTY_BASEDIR','/usr/local/lib/php/Smarty'); @@ -37,5 +41,4 @@ define('DB_PASS',''); define('DB_HOST',''); define('DB_NAME',''); define('DB_PORT', ''); - ?>