Skip to content

Instantly share code, notes, and snippets.

@bvibber
Created November 22, 2011 20:11
Show Gist options
  • Save bvibber/1386775 to your computer and use it in GitHub Desktop.
Save bvibber/1386775 to your computer and use it in GitHub Desktop.
ini_set('display_errors', 1);
error_reporting(E_ALL);
$f = fopen($wgDebugLogFile, "a");
if (!$f) die("Failed to open log file");
fputs($f, "Testing log file.\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment