- Timestamp:
- Nov 14, 2005 4:44:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/_config.inc.php
r17 r18 6 6 $common_base = realpath($_SERVER['argv'][1]); 7 7 8 if ('' != $common_base && is_dir($common_base)) { 8 9 if (2 == $_SERVER['argc'] && '' != $common_base && is_dir($common_base)) { 9 10 // First arg is path to current site. Realpath removes trailing /s 10 11 define('COMMON_BASE', $common_base); 11 12 } else { 12 die("Error: Firstargument must be the directory path to an existing site (ex: /home/sc/www.strangecode.com).\n");13 die("Error: Single argument must be the directory path to an existing site (ex: /home/sc/www.strangecode.com).\n"); 13 14 } 14 15
Note: See TracChangeset
for help on using the changeset viewer.