changeset 57:7f90ac957713

necessary when included inside a function
author Charlie Root
date Sun, 09 Jun 2019 06:47:19 -0400
parents 5f772caee9a7
children 39600878ff93
files dlog.php
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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";
 }