- $INC = sprintf(PATH."inc/modules/guest/what-%s.php", $GLOBALS['what']);
- if (file_exists($INC))
- {
- // Ok, we finally load the guest action module
+ $INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
+ if (FILE_READABLE($INC)) {
+ // Ok, we finally load the guest action module