Changeset 10 for trunk/bin/module_maker/_config.inc.php
- Timestamp:
- Sep 12, 2005 1:02:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/_config.inc.php
r9 r10 4 4 5 5 // Determine common site directory. 6 if (false !== ($common_base = realpath($_SERVER['argv'][1]))) { 6 $common_base = realpath($_SERVER['argv'][1]); 7 8 if ('' != $common_base && is_dir($common_base)) { 7 9 // First arg is path to current site. Realpath removes trailing /s 8 10 define('COMMON_BASE', $common_base); 9 11 } else { 10 die( sprintf("Error: First argument must be the directory path to the site (e.g.: /home/sc/www.strangecode.com/).\n", basename($_SERVER['argv'][0])));12 die("Error: First argument must be the directory path to an existing site (ex: /home/sc/www.strangecode.com).\n"); 11 13 } 12 14 … … 25 27 $app->setParam(array( 26 28 'site_name' => 'Module Maker', 27 'site_email' => ' quinn@strangecode.com',29 'site_email' => 'codebase@strangecode.com', 28 30 'enable_session' => false, 29 31 'enable_db' => true,
Note: See TracChangeset
for help on using the changeset viewer.