Ignore:
Timestamp:
Jun 6, 2006 3:19:17 AM (18 years ago)
Author:
scdev
Message:

Q - Changed one more SessionCache? -> Cache, small bug fixt to Prefs, added operation help to modulemaker scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/_config.inc.php

    r136 r151  
    33 * code by strangecode :: www.strangecode.com :: this document contains copyrighted information. */
    44
    5 // Determine common site directory.
    6 $common_base = realpath($_SERVER['argv'][1]);
    7 
    85// Test argument.
    9 if ($_SERVER['argc'] > 1 && '' != $common_base && is_dir($common_base)) {
     6if ($_SERVER['argc'] > 1 && isset($_SERVER['argv'][1]) && '' != $_SERVER['argv'][1] && is_dir($_SERVER['argv'][1])) {
     7    // Determine common site directory.
     8    $common_base = realpath($_SERVER['argv'][1]);
     9   
    1010    // First arg is path to current site. Realpath removes trailing /s
    1111    define('COMMON_BASE', $common_base);
Note: See TracChangeset for help on using the changeset viewer.