-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
193 additions
and
161 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
// No direct access! | ||
defined( 'ABSPATH' ) OR exit; | ||
|
||
// Try to get current user | ||
$user = ffcnr_get_current_user(); | ||
|
||
// Report | ||
header( 'Content-Type: text/html; charset=utf-8' ); | ||
header( 'HTTP/1.1 200 OK' ); | ||
|
||
if ( $user === 0 ) { | ||
echo 'FFCNR is not working for unknown, turn it off or try to fix it.'; | ||
} else { | ||
echo 'FFCNR is working, all good.'; | ||
} | ||
|
||
exit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.