diff options
Diffstat (limited to 'www/geeklog/patches/patch-aa')
-rw-r--r-- | www/geeklog/patches/patch-aa | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/www/geeklog/patches/patch-aa b/www/geeklog/patches/patch-aa new file mode 100644 index 00000000000..59ad3d2fd4e --- /dev/null +++ b/www/geeklog/patches/patch-aa @@ -0,0 +1,73 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/06/15 13:26:44 taca Exp $ + +--- config.php.orig 2006-05-28 18:41:42.000000000 +0900 ++++ config.php +@@ -65,13 +65,13 @@ $_DB_table_prefix = 'gl_'; // e. + // 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 ++$_CONF['path'] = '@GEEKLOG_DIR@/'; // 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/'; ++$_CONF['path_html'] = '@GEEKLOG_PUBDIR@/'; + + + // +---------------------------------------------------------------------------+ +@@ -80,7 +80,7 @@ $_CONF['path_html'] = $_CONF['pa + + // 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'; ++$_CONF['site_url'] = 'http://www.example.com@GEEKLOG_SITESUBDIR@'; + + // Some hosting services have a preconfigured admin directory. In that case, + // you need to rename Geeklog's admin directory to something like "myadmin" +@@ -154,14 +154,14 @@ $_CONF['path_pear'] = $_CONF['path_syste + // The default is 'mail' and will work in most environments. + + $_CONF['mail_settings'] = array ( +- 'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp' ++ 'backend' => 'smtp', // 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', ++ 'host' => 'localhost', + 'port' => '25', + 'auth' => false, + 'username' => 'smtp-username', +@@ -180,7 +180,7 @@ $_DB_dbms = 'mysql'; // Do not change + $_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off + + // full path to mysqldump executable (Windows users: add ".exe"!) +-$_DB_mysqldump_path = '/usr/bin/mysqldump'; ++$_DB_mysqldump_path = '@PREFIX@/bin/mysqldump'; + + // additional options for mysqldump + // If you're using InnoDB tables, include the '--single-transaction' or you +@@ -613,7 +613,7 @@ $_CONF['image_lib'] = ''; // can be one + // If you set image_lib to 'imagemagick' give the complete path to mogrify + // here (i.e. including the name of the executable), otherwise comment it out + // NOTE: requires ImageMagick version 5.4.9 (or newer) +-//$_CONF['path_to_mogrify'] = '/path/to/mogrify'; ++//$_CONF['path_to_mogrify'] = '@PREFIX@/bin/mogrify'; + + // If you set image_lib to 'netpbm' give the path to the netpbm directory, you + // need the trailing slash here. +@@ -624,7 +624,7 @@ $_CONF['image_lib'] = ''; // can be one + // only use netpbm with Geeklog, put that entire folder in /path/to/geeklog and + // adjust the path below. The only programs you need from netpbm are giftopnm, + // jpegtopnm, pngtopnm, ppmtogif, pnmtojpeg, pnmtopng and pnmscale +-//$_CONF['path_to_netpbm'] = '/path/to/netpbm/'; ++//$_CONF['path_to_netpbm'] = '@PREFIX@/bin/'; + + // Uncomment the following line if you experience problems with the image + // upload. Debug messages will be added to the error.log file. |