I'm trying to run a php script only if iim currently in 1 of 2 directories, so this is what I came up wit
PHP Code:
<?php 
if (getcwd() == "recreation" || getcwd() == "service"  ) {
$CSS=1; require("../calendar/calendar.php"); 
} else {
$CSS=1; require("calendar/calendar.php"); 
}
?>
What am I missing?

Thx...