~woffs/wcm

ce674fe8e2b0615360bdf5d8f63ac52de80db881 — Frank Doepper 12 years ago 6e35aa1
subst prefix and pprefix ($abs) even in $content
2 files changed, 4 insertions(+), 2 deletions(-)

M index.pl
M src/11_WofFS' Content Machine/01_index.text
M index.pl => index.pl +3 -1
@@ 4,7 4,7 @@
# http://woffs.de/WCM
# <wcm@woffs.de>
#
# Version 20110506
# Version 20110507
# 
# © WofFS 2010
# License: CC-BY-SA 3.0


@@ 178,6 178,8 @@ if ($redir) {
  }
  print "\n";

  $content=~s/__prefix__/$prefix/g;
  $content=~s/__pprefix__/$abs/g;
  open T,"< $template" or die $!;
  while (<T>) {
    s/__navi__/$navi/g;

M src/11_WofFS' Content Machine/01_index.text => src/11_WofFS' Content Machine/01_index.text +1 -1
@@ 50,7 50,7 @@ I moved my own Webpage from
to my new *Content Machine* within some hours.

You are invited to have a look at the
[source code](?page=WofFS__Content_Machine/source)
[source code](__pprefix__WofFS__Content_Machine/source)
of the main script.

Please visit the [home page](http://woffs.de/WCM)