Posted by:
toumimi
(---.11.115-78.rev.gaoland.net)
Hi,
Here is a tip I have used before.
It redirects you to any location if wamp is online (normal behaviour when offline).
Add those lines in our www index (line 27, after "fclose ($fp);" ),
and modify YOUR_LOCATION by whatever you want (probably bugzilla/index.php)
preg_match('|status = "(.*)"\n|',$wampConfFileContents,$result);
if($result[1]=='online') {
header('Location: YOUR_LOCATION');
exit();
}
Hope this can help...
Florian
WampServer Patch (
Screenshots)
Topic EN :
www.wampserver.comTopic FR :
www.wampserver.com