Changeset 1573

Show
Ignore:
Timestamp:
09/11/06 09:26:30 (2 years ago)
Author:
mbonetti
Message:

better getPath

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/util.php

    r1561 r1573  
    627627 * http://host.com/ -> "/" 
    628628 */ 
    629 function getPath() { 
     629function getPath($path='') { 
    630630    static $ret; 
    631631    if ($ret === NULL) { 
     
    641641        } 
    642642    } 
    643     return $ret; 
     643    return $ret . $path; 
    644644 
    645645}