- Timestamp:
- Mar 8, 2013, 11:01:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130307/dvodist/www-util/ipp.php
r35272 r35275 245 245 246 246 // lines which start with @ are processed by 'dirlist', all others are processed by Markdown 247 function do_markdown ($source) { 247 function do_markdown ($source, $root) { 248 248 249 if (!file_exists($source)) return; 249 250 … … 254 255 $to_dirlist = ""; 255 256 while ($line = fgets ($file, 1024)) { 257 // replace @WWWHOST@ with $root 258 $line = str_replace ("@WWWHOST@", $root, $line); 259 256 260 // echo "line: $line"; 257 261 if (!strncmp($line, "@", 1)) {
Note:
See TracChangeset
for help on using the changeset viewer.
