[geeklog-cvs] geeklog-1.3 config.php,1.137,1.138

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Fri Oct 15 14:19:14 EDT 2004


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

Modified Files:
	config.php 
Log Message:
Disabled PDF support for now.


Index: config.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/config.php,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -d -r1.137 -r1.138
*** config.php	9 Oct 2004 19:19:59 -0000	1.137
--- config.php	15 Oct 2004 18:19:12 -0000	1.138
***************
*** 321,375 ****
  $_CONF['ostype']    = PHP_OS;
  
- // +---------------------------------------------------------------------------+
- // | PDF SETTINGS                                                              |
- // +---------------------------------------------------------------------------+
- 
- // Your system must have htmldoc installed.  If you don't have it, you may
- // download it from http://www.easysw.com/htmldoc/ and yes, it runs on windows
- // and *nix
  
! // Enables the PDF generator feature.  1 = on, 0 = off
  $_CONF['pdf_enabled'] = 0;
  
- // Enables the PDF adhoc mode for the general public.  NOTE: this is always
- // enabled for users in the ROOT group. NOTE: generally speaking you will
- // probably want to leave this off unless your site has a particular need for
- // members to do this.
- $_CONF['pdf_adhoc_enabled'] = 0;
- 
- // Absolute path to the htmldoc binary
- $_CONF['path_to_htmldoc'] = '/path/to/htmldoc';
- 
- // When enabled, this will pump any HTML through HTML tidy in an attempt to
- // make the page XHTML compliant prior to using htmldoc.  NOTE: this tends to
- // improve the chance that the PDF will be generated.  Producing PDF's from
- // Geeklog's print mode should work fine as that is generally XHTML compliant.
- // This is disabled by default because it requires you to install HTML tidy for
- // your platform:
- // http://tidy.sf.net and you need to get the library (see
- // http://tidy.sourceforge.net/libintro.html) and then install the PHP PECL by
- // doing "pear -v install tidy"
- $_CONF['use_html_tidy'] = 0;
- 
- // See PHP manual for full list of config options
- $_CONF['tidy_config_options'] = array(
-                                     'output-xhtml' => true,
-                                     'hide-comments' => true
-                                     );
- 
- // Path where we will store the generated PDFs
- $_CONF['path_pdf'] = $_CONF['path'] . 'pdfs/';
- 
- // If you want a logo added to the top of your PDFs, provide the full file
- // system path here.
- $_CONF['pdf_logo'] = '';
- 
- // Font point size (sorry no customization of font type yet)
- $_CONF['pdf_font_size'] = 10;
- 
- // PDFs are generated and kept however many days you specify below.  If this
- // is left blank or set to 0 it will default back to 1
- $_CONF['days_to_keep'] = 1;
- 
  
  // +---------------------------------------------------------------------------+
--- 321,328 ----
  $_CONF['ostype']    = PHP_OS;
  
  
! // Note: PDF conversion didn't make it into this release. Leave as is.
  $_CONF['pdf_enabled'] = 0;
  
  
  // +---------------------------------------------------------------------------+
***************
*** 726,730 ****
  }
  if (!defined ('VERSION')) {
!     define('VERSION', '1.3.10cvs');
  }
  
--- 679,683 ----
  }
  if (!defined ('VERSION')) {
!     define('VERSION', '1.3.10rc1');
  }
  




More information about the geeklog-cvs mailing list