diff dlog.php @ 57:7f90ac957713

necessary when included inside a function
author Charlie Root
date Sun, 09 Jun 2019 06:47:19 -0400
parents dbc006408d2b
children
line wrap: on
line diff
--- a/dlog.php	Fri Jun 07 16:36:06 2019 -0400
+++ b/dlog.php	Sun Jun 09 06:47:19 2019 -0400
@@ -1,4 +1,5 @@
 <?php
+global $logfile;
 if (isset($_SERVER['DOCUMENT_ROOT'])) {
   $logfile=$_SERVER['DOCUMENT_ROOT']."/debug/debug.log";
 }