[geeklog-cvs] geeklog-1.3/public_html pdfgenerator.php,1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Fri Jun 4 17:49:22 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv22307

Modified Files:
	pdfgenerator.php 
Log Message:
Now honors $_CONF['pdf_enabled'].  Still need to add error message and clean up the HTML in here (will do so in next day or so).

Index: pdfgenerator.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/pdfgenerator.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pdfgenerator.php	4 Jun 2004 21:44:53 -0000	1.1
--- pdfgenerator.php	4 Jun 2004 21:49:20 -0000	1.2
***************
*** 35,38 ****
--- 35,43 ----
  require_once 'lib-common.php';
  
+ // Need ot add error message here from language file
+ if ($_CONF['pdf_enabled'] == false) {
+     exit;
+ }
+ 
  /**
  * Fetches a PDF from the Geeklog system




More information about the geeklog-cvs mailing list