Skip to content

Instantly share code, notes, and snippets.

Created November 27, 2017 15:40
What would you like to do?
Example private LiveWhale script
// 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