5 require('WebStone-common.pl');
7 $oldfilelist = "$wd/conf/filelist";
11 if ($filelist ne $oldfilelist) {
12 $backup = $oldfilelist . ".bak";
13 print CLIENT
"<BODY>Backing up $oldfilelist to $backup";
14 rename($oldfilelist, $backup);
15 print CLIENT
"<P>Copying $filelist to $oldfilelist";
16 link($filelist, $oldfilelist);
17 print CLIENT
"<P>Done.";
21 print CLIENT
"<STRONG>Can't move $filelist <P>to $filelist</STRONG>";