[geeklog-cvs] Geeklog-SoC: So long, and thanks for all the fish
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jul 12 13:07:24 EDT 2008
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/1c6ebe2c7c16
changeset: 6225:1c6ebe2c7c16
user: dirk at prospero.local
date: Sat Jul 12 19:07:00 2008 +0200
description:
So long, and thanks for all the fish
diffstat:
2 files changed, 1933 deletions(-)
config.php | 976 -------------------------------------------------------
config.php.dist | 957 -----------------------------------------------------
diffs (truncated from 1941 to 300 lines):
diff -r b19508403571 -r 1c6ebe2c7c16 config.php
--- a/config.php Tue Jul 01 17:04:45 2008 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,976 +0,0 @@
-<?php
-
-/* Reminder: always indent with 4 spaces (no tabs). */
-// +---------------------------------------------------------------------------+
-// | Geeklog 1.4 |
-// +---------------------------------------------------------------------------+
-// | config.php |
-// | |
-// | Geeklog configuration file. |
-// +---------------------------------------------------------------------------+
-// | Copyright (C) 2001-2007 by the following authors: |
-// | |
-// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
-// | Dirk Haun - dirk AT haun-online DOT de |
-// +---------------------------------------------------------------------------+
-// | |
-// | This program is free software; you can redistribute it and/or |
-// | modify it under the terms of the GNU General Public License |
-// | as published by the Free Software Foundation; either version 2 |
-// | of the License, or (at your option) any later version. |
-// | |
-// | This program is distributed in the hope that it will be useful, |
-// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
-// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
-// | GNU General Public License for more details. |
-// | |
-// | You should have received a copy of the GNU General Public License |
-// | along with this program; if not, write to the Free Software Foundation, |
-// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
-// | |
-// +---------------------------------------------------------------------------+
-// | See the docs/install.html and docs/config.html files for more information |
-// | on configuration. |
-// +---------------------------------------------------------------------------+
-//
-// $Id: config.php,v 1.260 2008/04/19 18:51:13 dhaun Exp $
-
-// When setting up Geeklog for the first time, you need to make sure the
-// settings in the following 3 sections are correct:
-// (1) Database Settings
-// (2) Paths
-// (3) Site Settings
-// You can adjust the other settings once your site is up and running.
-
-// +---------------------------------------------------------------------------+
-// | (1) Database Settings |
-// +---------------------------------------------------------------------------+
-
-$_DB_host = 'localhost'; // host name or IP address of your DB server
-$_DB_name = 'geeklog'; // name of your database,
- // must exist before running the installer!
-$_DB_user = 'username'; // MySQL user name
-$_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_'
-
-
-// +---------------------------------------------------------------------------+
-// | (2) Paths |
-// +---------------------------------------------------------------------------+
-
-// Note for Windows users: It's safe to use the forward slash '/' instead of
-// the backslash '\' in paths. Make sure each path starts with a drive letter!
-
-// This should point to the directory where your config.php file resides.
-$_CONF['path'] = '/path/to/geeklog/'; // should end in a slash
-
-// You only need to change this if you moved or renamed the public_html
-// directory. In that case, you should specify the complete path to the
-// directory (i.e. without the $_CONF['path']) like this:
-// $_CONF['path_html'] = '/path/to/your/public_html/';
-$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
-
-
-// +---------------------------------------------------------------------------+
-// | (3) Site Settings |
-// +---------------------------------------------------------------------------+
-
-// Make sure this is the correct URL to your site, i.e. to where Geeklog's
-// index.php file resides (no trailing slash).
-$_CONF['site_url'] = 'http://www.example.com';
-
-// Some hosting services have a preconfigured admin directory. In that case,
-// you need to rename Geeklog's admin directory to something like "myadmin"
-// and change the following URL as well. Leave as is until you experience any
-// problems accessing Geeklog's admin menu.
-$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
-
-// This is the return address for all email sent by Geeklog and contact info
-// displayed in syndication feeds:
-$_CONF['site_mail'] = 'admin at example.com';
-
-// This is the sender's address of emails sent by the system when users register etc
-// This should be either the same as $_CONF['site_mail'] or a bouncing address
-// to prevent spammers from getting your email address by registering on the site
-// If this is NOT the same as above, there will be a message in sent messages
-// that replying to those emails is recommended.
-$_CONF['noreply_mail'] = 'noreply at example.com';
-
-// Name and slogan of your site
-$_CONF['site_name'] = 'Geeklog Site';
-$_CONF['site_slogan'] = 'Another Nifty Geeklog Site';
-// Prepended to story title for Microsummary
-$_CONF['microsummary_short'] = 'GL: ';
-
-
-// ****************************************************************************
-// * If you set up Geeklog for the first time, you shouldn't need to change *
-// * anything below this line. Come back here once the site is up and running.*
-// ****************************************************************************
-
-
-// Note: See the file docs/config.html for more information on the settings.
-
-// +---------------------------------------------------------------------------+
-// | OTHER PATH SETTINGS |
-// | |
-// | All paths must have a trailing slash ('/'). |
-// +---------------------------------------------------------------------------+
-
-// you shouldn't need to edit theses
-$_CONF['path_system'] = $_CONF['path'] . 'system/';
-$_CONF['path_log'] = $_CONF['path'] . 'logs/';
-$_CONF['path_language'] = $_CONF['path'] . 'language/';
-$_CONF['backup_path'] = $_CONF['path'] . 'backups/';
-$_CONF['path_data'] = $_CONF['path'] . 'data/';
-
-// If you set path_images to something other than the default, you will need to
-// make sure that you add the following subdirectories to that directory:
-// articles/, userphotos/
-$_CONF['path_images'] = $_CONF['path_html'] . 'images/';
-
-// +---------------------------------------------------------------------------+
-// | PEAR Settings |
-// | |
-// | Geeklog uses PEAR to send emails (see "Email Settings" below). Here you |
-// | can tell Geeklog whether to use the PEAR packages installed on your |
-// | server or to use the included packages. |
-// +---------------------------------------------------------------------------+
-
-// If your server is running PHP 4.3.0 (or newer) then chances are that PEAR
-// is already installed and you can change this to: $_CONF['have_pear'] = true;
-$_CONF['have_pear'] = false;
-
-// Geeklog comes with the necessary PEAR packages and will pick them up from
-// the following directory if $_CONF['have_pear'] = false (above).
-$_CONF['path_pear'] = $_CONF['path_system'] . 'pear/';
-
-// +---------------------------------------------------------------------------+
-// | Email Settings |
-// | |
-// | Configure how Geeklog sends email: Via PHP's mail() function, sendmail, |
-// | or via an SMTP server. |
-// +---------------------------------------------------------------------------+
-
-// To send email from Geeklog, you will need to select one of the following
-// email backends:
-// - 'mail', i.e. use PHP's built-in mail() function
-// - 'sendmail', i.e. use the sendmail utility
-// - 'smtp', i.e. talk directly to your SMTP server
-// The default is 'mail' and will work in most environments.
-
-$_CONF['mail_settings'] = array (
- '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',
- 'auth' => false,
- 'username' => 'smtp-username',
- 'password' => 'smtp-password'
-);
-
-// +---------------------------------------------------------------------------+
-// | OTHER DATABASE SETTINGS |
-// | |
-// | Database type and database backup settings. |
-// +---------------------------------------------------------------------------+
-
-$_DB_dbms = 'mysql'; // can be either 'mysql' or 'mssql' (Microsoft SQL Server)
-
-
-// the following options are for MySQL only
-
-// optional settings for making database backups from within Geeklog
-$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off
-
-// full path of the mysqldump executable (Windows users: add ".exe"!)
-$_DB_mysqldump_path = '/usr/bin/mysqldump';
-
-// additional options for mysqldump
-// If you're using InnoDB tables, include '--single-transaction' or you
-// may end up with inconsistent backups!
-$_CONF['mysqldump_options'] = '-Q';
-
-
-// +---------------------------------------------------------------------------+
-// | SITE SETTINGS |
-// | |
-// | These settings help define your Geeklog site. |
-// +---------------------------------------------------------------------------+
-$_CONF['theme'] = 'professional'; // default theme
-
-// List of entries that you want to see in the site's menu bar (if you're using
-// a theme that uses the {menu_elements} variable in its header.thtml).
-// Choose any combination of the following (order here = order in the menu).
-$_CONF['menu_elements'] = array
-(
- // 'home', // link to homepage
- 'contribute', // contribute / "submit a story" link
- 'search', // link to advanced search
- 'stats', // link to site stats
- 'directory', // link to list of past stories
- // 'prefs', // link to user's preferences
- 'plugins' // links added by plugins, like {plg_menu_elements}
- // 'custom' // for custom links (see lib-custom.php)
-);
-
-// you shouldn't need to edit the following
-$_CONF['layout_url'] = $_CONF['site_url'] . '/layout/' . $_CONF['theme'];
-$_CONF['path_themes'] = $_CONF['path_html'] . 'layout/';
-$_CONF['path_layout'] = $_CONF['path_themes'] . $_CONF['theme'] . '/';
-
-// stops new registrations if set to true.
-$_CONF['disable_new_user_registration'] = false; // set to true to block users.
-
-// optional settings (1 = on, 0 = off)
-$_CONF['allow_user_themes'] = 1;
-$_CONF['allow_user_language'] = 1;
-$_CONF['allow_user_photo'] = 1; // allow users to upload self-photo
-
-// Allow users to change their username (if set to 1).
-$_CONF['allow_username_change'] = 0;
-
-// Allow users to delete their account (if set to 1).
-$_CONF['allow_account_delete'] = 0;
-
-// hides the list of authors from the preferences
-$_CONF['hide_author_exclusion'] = 0;
-
-// Used by COM_getDisplayName to return Members's Full Name else username
-$_CONF['show_fullname'] = 0; // 1 = show user's full name
-
-// Used by COM_getDisplayName to return users remote login service, if they have one.
-$_CONF['show_servicename'] = true; // Set to false to not show it.
-
-// +---------------------------------------------------------------------------+
-// | Support for custom user registration form and account details |
-// | Requires custom functions to be written that can be placed in lib-custom |
-// | Function hooks are in users.php, usersettings.php and admin/user.php |
-// +---------------------------------------------------------------------------+
-$_CONF['custom_registration'] = false; // Set to true if you have custom code
-
-// +---------------------------------------------------------------------------+
-// | Support for various remote methods to create users and log in, |
-// | in addition to the classic Geeklog-only internal account. |
-// +---------------------------------------------------------------------------+
-$_CONF['user_login_method'] = array(
- 'standard' => true, // Geeklog's built-in login method
- // Note: can not be disabled yet
- 'openid' => false, // Set to true to enable OpenID remote login support.
- '3rdparty' => false // Set to true to enable various other remote
- // authentification methods (requires custom classes in
- // system/classes/authentication).
-);
-
-
-// +---------------------------------------------------------------------------+
-// | Define action to be taken by Spam-X module if spam detected |
-// | Current Spam-X module supports two actions which can be combined |
-// | Additional classes can be added as well as other plugin extensions |
-// | Actions: 128 = ignore comment and redirect to homepage |
-// | 8 = mail admin message |
-// | 136 (SUM) ignore and email admin |
-// +---------------------------------------------------------------------------+
-$_CONF['spamx'] = 128; // Default to ignore comment.
-
-// +---------------------------------------------------------------------------+
-// | Sort the links in the admin block and the admin panel. |
-// +---------------------------------------------------------------------------+
-$_CONF['sort_admin'] = true;
-
-// +---------------------------------------------------------------------------+
-// | Path to user files relative to the $_CONF['site_url'] (no trailing slash) |
-// | Relative Directory where the Editor Image Library store |
-// +---------------------------------------------------------------------------+
-$_CONF_FCK['imagelibrary'] = '/images/library';
-
-// +---------------------------------------------------------------------------+
-// | LOCALE SETTINGS |
More information about the geeklog-cvs
mailing list