Created
November 27, 2017 15:40
-
-
Save karlhinze/c320f0c65eb07a06c6147937393a20ba to your computer and use it in GitHub Desktop.
Example private LiveWhale script
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
<?php | |
// Load LiveWhale | |
require $_SERVER['DOCUMENT_ROOT'].'/livewhale/nocache.php'; | |
// Show errors | |
ini_set('display_errors', 1); | |
// Require logged-in user | |
if (!$_LW->isLiveWhaleUser()) { | |
die('Must be logged in.'); | |
}; | |
// Put the rest of your script here: load CSVs, check external databases, etc. | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment