[geeklog-cvs] geeklog-1.3 config.php,1.134,1.135
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Thu Sep 30 04:50:42 EDT 2004
Update of /var/cvs/geeklog-1.3
In directory www:/tmp/cvs-serv20204
Modified Files:
config.php
Log Message:
Minor changes (wording changes, fixed typos, etc.)
Index: config.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/config.php,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** config.php 28 Sep 2004 08:25:56 -0000 1.134
--- config.php 30 Sep 2004 08:50:38 -0000 1.135
***************
*** 53,57 ****
$_DB_pass = 'password'; // MySQL password
! // The table prefix is prepended to each table used be Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'
--- 53,57 ----
$_DB_pass = 'password'; // MySQL password
! // The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'
***************
*** 156,164 ****
'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp'
! // sendmail parameters (for 'backend' => 'sendmail')
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',
! // SMTP parameters (for 'backend' => 'smtp')
'host' => 'smtp.example.com',
'port' => '25',
--- 156,164 ----
'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp'
! // sendmail parameters (only needed for 'backend' => 'sendmail')
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',
! // SMTP parameters (only needed for 'backend' => 'smtp')
'host' => 'smtp.example.com',
'port' => '25',
***************
*** 178,182 ****
// optional settings for making database backups from within Geeklog
$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off
! $_DB_mysqldump_path = '/usr/bin/mysqldump'; // path to mysqldump binary
$_CONF['mysqldump_options'] = '-Q'; // additional options for mysqldump
--- 178,182 ----
// optional settings for making database backups from within Geeklog
$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off
! $_DB_mysqldump_path = '/usr/bin/mysqldump'; // full path to mysqldump executable
$_CONF['mysqldump_options'] = '-Q'; // additional options for mysqldump
***************
*** 232,243 ****
// | see docs/config.html#locale for details |
// +---------------------------------------------------------------------------+
! $_CONF['language'] = 'english';
! $_CONF['locale'] = 'en-gb';
! $_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
! $_CONF['daytime'] = '%m/%d %I:%M%p';
! $_CONF['shortdate'] = '%x';
! $_CONF['dateonly'] = '%d-%b';
! $_CONF['timeonly'] = '%I:%M%p';
! $_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon'
$_CONF['default_charset'] = 'iso-8859-1';
--- 232,243 ----
// | see docs/config.html#locale for details |
// +---------------------------------------------------------------------------+
! $_CONF['language'] = 'english';
! $_CONF['locale'] = 'en-gb';
! $_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
! $_CONF['daytime'] = '%m/%d %I:%M%p';
! $_CONF['shortdate'] = '%x';
! $_CONF['dateonly'] = '%d-%b';
! $_CONF['timeonly'] = '%I:%M%p';
! $_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon'
$_CONF['default_charset'] = 'iso-8859-1';
***************
*** 250,254 ****
//
// For more information, see this discussion on geeklog.net:
! // http://www.geeklog.net/forum/viewtopic.php?forum=10&showtopic=21232
// $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT
--- 250,254 ----
//
// For more information, see this discussion on geeklog.net:
! // http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT
***************
*** 299,317 ****
$_CONF['cookiesecure'] = 0;
! // Set to false if you don't want to store last login data and time in the userinfo table
$_CONF['lastlogin'] = true;
- // +---------------------------------------------------------------------------+
- // | PHP SESSIONS SETTINGS |
- // +---------------------------------------------------------------------------+
-
- // will use cookies to store the session id on the client side
- $_CONF['sessions_usecookie'] = true;
- $_CONF['sessionid'] = 'SessionID';
-
- // The prefix can be useful for instance if you generate identifiers
- // simultaneously on several hosts and there is the extreme chance to generate
- // the identifier at the same microsecond.
- $_CONF['sessionid_prefix'] = 'gl';
// +---------------------------------------------------------------------------+
--- 299,306 ----
$_CONF['cookiesecure'] = 0;
! // Geeklog keeps track of when a user last logged in. Set this to false
! // if you don't want that.
$_CONF['lastlogin'] = true;
// +---------------------------------------------------------------------------+
***************
*** 424,428 ****
$_CONF['linksubmission'] = 1;
$_CONF['eventsubmission'] = 1;
! $_CONF['usersubmission'] = 0;
// When set to 1, this will display an additional block on the submissions page
--- 413,417 ----
$_CONF['linksubmission'] = 1;
$_CONF['eventsubmission'] = 1;
! $_CONF['usersubmission'] = 0; // 1 = new users must be approved
// When set to 1, this will display an additional block on the submissions page
***************
*** 438,442 ****
$_CONF['postmode'] = 'plaintext'; // can be 'plaintext' or 'html'
! $_CONF['speedlimit'] = 45; // in seconds
$_CONF['skip_preview'] = 0; // If = 1, allow user to submit comments and stories without previewing
--- 427,431 ----
$_CONF['postmode'] = 'plaintext'; // can be 'plaintext' or 'html'
! $_CONF['speedlimit'] = 45; // in seconds
$_CONF['skip_preview'] = 0; // If = 1, allow user to submit comments and stories without previewing
***************
*** 611,621 ****
// Story image settings
! $_CONF['max_image_width'] = 300; // In pixels
! $_CONF['max_image_height'] = 300; // In pixels
$_CONF['max_image_size'] = 1048576; // 1048576 = 1MB
// User photo settings
! $_CONF['max_photo_width'] = 96; // In pixels
! $_CONF['max_photo_height'] = 96; // In pixels
$_CONF['max_photo_size'] = 65536; // 65536 = 64KB
--- 600,610 ----
// Story image settings
! $_CONF['max_image_width'] = 160; // In pixels
! $_CONF['max_image_height'] = 120; // In pixels
$_CONF['max_image_size'] = 1048576; // 1048576 = 1MB
// User photo settings
! $_CONF['max_photo_width'] = 128; // In pixels
! $_CONF['max_photo_height'] = 128; // In pixels
$_CONF['max_photo_size'] = 65536; // 65536 = 64KB
***************
*** 628,634 ****
// Poll Settings
! $_CONF['maxanswers'] = 10;
! // 'submitorder' is order answers are saved in admin/poll.php
! // 'voteorder' will list answers in order of number of votes (highest->lowest);
$_CONF['answerorder'] = 'submitorder';
$_CONF['pollcookietime'] = 86400;
--- 617,623 ----
// Poll Settings
! $_CONF['maxanswers'] = 10; // max. number of options in a poll
! // 'submitorder' is the order in which answers are saved in admin/poll.php
! // 'voteorder' will list answers ordered by number of votes (highest->lowest);
$_CONF['answerorder'] = 'submitorder';
$_CONF['pollcookietime'] = 86400;
***************
*** 713,723 ****
! // EXPERIMENTAL!
! // This feature when fully implemented, will make your site crawler friendly.
! // Only works with staticpages and stories right now.
//
// Note: Works with Apache (Linux and Windows successfully tested).
// Unresolvable issues with systems running IIS; known PHP CGI bug.
! $_CONF['url_rewrite'] = false; // false = off, true = on
// Define a few useful things for GL
--- 702,712 ----
! // This feature, when activated, makes some of Geeklog's URLs more crawler
! // friendly, i.e. more likely to be picked up by search engines.
! // Only implemented for stories, static pages, and portal links right now.
//
// Note: Works with Apache (Linux and Windows successfully tested).
// Unresolvable issues with systems running IIS; known PHP CGI bug.
! $_CONF['url_rewrite'] = false; // false = off, true = on
// Define a few useful things for GL
More information about the geeklog-cvs
mailing list