I'm trying to set up a WOL entry for a custom script. However the script is named index.php and in a directory above my forum root.
If I use:
PHP Code:
switch ($filename)
{
case 'index.php':
$userinfo['activity'] = 'mypage';
break;
}
Won't this apply the WOL for ALL scripts titled index.php??? It's the only method I know how to add a WOL entry. Is there another way?