Source for file config.inc.php

Documentation is available at config.inc.php

  1. <?php
  2.  
  3. // MinimalWeblog 1.0.2
  4. // Copyright 2006 Jan Pieter Kunst <jpkunst at xs4all dot nl>
  5. // 
  6. // Based on Personal Weblog 1.0.0
  7. // http://www.kyne.com.au/~mark/software/weblog.php
  8. // Copyright 2001,2002  Mark Pulford <mark@kyne.com.au>
  9. //
  10. // This program is free software; you can redistribute it and/or modify 
  11. // it under the terms of the GNU General Public License as published by 
  12. // the Free Software Foundation; either version 2 of the License, or 
  13. // (at your option) any later version. 
  14. //  
  15. // This program is distributed in the hope that it will be useful, 
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of 
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  18. // GNU General Public License for more details. 
  19. //  
  20. // You should have received a copy of the GNU General Public License 
  21. // along with this program; if not, write to the Free Software 
  22. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  23.  
  24. /**
  25.  * Constant definitions for MinimalWeblog
  26.  *
  27.  * @package MinimalWeblog
  28.  */
  29.  
  30. /**
  31.  * Only necessary to enter this information under PHP >= 5.1.0RC1
  32.  */
  33. define('MINIMALWEBLOG_TIMEZONE''Europe/Amsterdam');
  34. /**
  35.  * Enter the external hostname of your server here.
  36.  * Presumably only needed if the server is behind a router and reached from the outside via NAT.
  37.  * Not used if empty. If non-empty, used to create the external URL for the RSS feed by bypassing
  38.  * $_SERVER['SERVER_NAME'].
  39.  */
  40. define('MINIMALWEBLOG_EXTERNAL_HOSTNAME','');
  41. /**
  42.  * Error reporting level
  43.  *
  44.  * 0: sparse error messages, only triggered errors
  45.  *
  46.  * 1: more verbose error messages, also system warnings and notices
  47.  *
  48.  * 2: also backtraces printed
  49.  */
  50. define('MINIMALWEBLOG_DEBUG'0);
  51. /**
  52.  * Name of the database for the weblog
  53.  */
  54. define('MINIMALWEBLOG_DB','minimalweblog');
  55. /**
  56.  * Host where the weblog database resides
  57.  */
  58. define('MINIMALWEBLOG_HOST','localhost');
  59. /**
  60.  * Username for the weblog database
  61.  */
  62. define('MINIMALWEBLOG_USER','webloguser');
  63. /**
  64.  * Password for the weblog database (not to be confused with the end-user password to edit the weblog)
  65.  */
  66. define('MINIMALWEBLOG_PASS','');
  67. /**
  68.  * Optional prefix for minimalweblog database tables (useful if a separate database is not possible)
  69.  */
  70. define('MINIMALWEBLOG_TABLE_PREFIX','minimalweblog_');
  71. /**
  72.  * For extra safety, define an array of hostnames or IP-addresses from which editing is allowed
  73.  *
  74.  * Default setting: editing only allowed from localhost; should be changed if the MinimalWeblog software
  75.  * is installed on a remote server, which is likely to be the case.
  76.  * Comment out the definition to allow editing from all hosts.
  77.  * Thanks to sean at syoft dot com, user comment 31-Jul-2006 08:21, at www.php.net/define
  78.  * for his tip on how to use constants to hold arrays.
  79.  */
  80. define('MINIMALWEBLOG_HOSTS_EDITING_ALLOWED'serialize(array('127.0.0.1')));
  81.  
  82. ?>

Documentation generated on Sun, 17 Jun 2007 19:20:33 +0200 by phpDocumentor 1.3.2