diff options
Diffstat (limited to 'blog/conf')
-rw-r--r-- | blog/conf/general-example | 27 | ||||
-rw-r--r-- | blog/conf/httpd.conf | 18 | ||||
-rw-r--r-- | blog/conf/wp-config.php | 46 |
3 files changed, 0 insertions, 91 deletions
diff --git a/blog/conf/general-example b/blog/conf/general-example deleted file mode 100644 index dca1e9dcc..000000000 --- a/blog/conf/general-example +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/* - * general-example: - * Example values for the "general" config file. - * - * Configuration parameters, in PHP syntax. Configuration parameters are set - * using the PHP define('OPTION_...', '...') function. Both perl and PHP code - * parse this properly, so you can use comments and conditionals and whatnot, - * but unless essential it's better to keep it simple.... - * - * Copy this file to one called "general" in the same directory. Or - * have multiple config files and use a symlink to change between them. - * - * Copyright (c) 2005 UK Citizens Online Democracy. All rights reserved. - * Email: francis@mysociety.org; WWW: http://www.mysociety.org - * - * $Id: general-example,v 1.2 2010-01-28 00:47:37 francis Exp $ - * - */ - -// MySQL database for FMSBLOG mySociety WordPress -define('OPTION_FMSBLOG_DB_NAME', ''); -define('OPTION_FMSBLOG_DB_USER', ''); -define('OPTION_FMSBLOG_DB_PASS', ''); -define('OPTION_FMSBLOG_DB_HOST', ''); -define('OPTION_STAGING', '0'); - diff --git a/blog/conf/httpd.conf b/blog/conf/httpd.conf deleted file mode 100644 index 2f93bc3cc..000000000 --- a/blog/conf/httpd.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Apache configuration for code.fixmystreet.com. -# -# Copyright (c) 2012 UK Citizens Online Democracy. All rights reserved. -# Email: struan@mysociety.org; WWW: http://www.mysociety.org - -<Location /fcgi> - Options +ExecCGI - SetHandler fastcgi-script -</Location> - -RewriteEngine on -#RewriteLog /var/log/apache2/rewrite.log -#RewriteLogLevel 5 - -# PHP files can be referred without PHP -RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.php -f -RewriteRule /(.+) /$1.php [PT] - diff --git a/blog/conf/wp-config.php b/blog/conf/wp-config.php deleted file mode 100644 index 38599b326..000000000 --- a/blog/conf/wp-config.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/** WordPress's config file **/ -/** http://wordpress.org/ **/ - -// ** MySQL settings ** // -if (!@include "../conf/general") { - if (!@include "../../conf/general") { - if (!@include "../../../conf/general") { - if (!@include(dirname(__FILE__) . "../../../conf/general")) { - print "Error including conf/general in wp-config.php on code.fixmystreet.com WordPress"; - exit; - } - } - } -} -define('DB_NAME', OPTION_FMSBLOG_DB_NAME); // The name of the database -define('DB_USER', OPTION_FMSBLOG_DB_USER); // Your MySQL username -define('DB_PASSWORD', OPTION_FMSBLOG_DB_PASS); // ...and password -define('DB_HOST', OPTION_FMSBLOG_DB_HOST); // 99% chance you won't need to change this value - -// Change the prefix if you want to have multiple blogs in a single database. - -$table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_' - -// Change this to localize WordPress. A corresponding MO file for the -// chosen language must be installed to wp-includes/languages. -// For example, install de.mo to wp-includes/languages and set WPLANG to 'de' -// to enable German language support. -define ('WPLANG', ''); - -$toppath = $_SERVER['DOCUMENT_ROOT']; -$trimmed = rtrim($toppath, "blog/web"); -define('TOP_PATH', $trimmed); - -/* Stop editing */ - -$server = DB_HOST; -$loginsql = DB_USER; -$passsql = DB_PASSWORD; -$base = DB_NAME; - -define('ABSPATH', dirname(__FILE__).'/'); - -// Get everything else -require_once(ABSPATH.'wp-settings.php'); -?> |