-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tighten up README, tweak HISTORY, duplicate config-dis.php to multi-site
- Loading branch information
Pete Cooper
committed
Mar 1, 2015
1 parent
bc2b874
commit ac9a510
Showing
3 changed files
with
103 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,109 @@ | ||
<?php | ||
|
||
/* | ||
* Textpattern Content Management System | ||
* http://textpattern.com | ||
* | ||
* Copyright (C) 2015 The Textpattern Development Team | ||
* | ||
* This file is part of Textpattern. | ||
* | ||
* Textpattern 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, version 2. | ||
* | ||
* Textpattern 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 Textpattern. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
/** | ||
* Database credentials and site configuration. | ||
* | ||
* @package DB | ||
*/ | ||
|
||
/** | ||
* mysql database | ||
* MySQL database. | ||
* | ||
* @global string $txpcfg['db'] | ||
*/ | ||
$txpcfg['db'] = 'databasename'; | ||
|
||
$txpcfg['db'] = 'databasename'; | ||
|
||
/** | ||
* database login name | ||
* Database login name. | ||
* | ||
* @global string $txpcfg['user'] | ||
*/ | ||
$txpcfg['user'] = 'root'; | ||
|
||
$txpcfg['user'] = 'root'; | ||
|
||
/** | ||
* database password | ||
* Database password. | ||
* | ||
* @global string $txpcfg['pass'] | ||
*/ | ||
$txpcfg['pass'] = ''; | ||
|
||
$txpcfg['pass'] = ''; | ||
|
||
/** | ||
* database host | ||
* Database hostname. | ||
* | ||
* @global string $txpcfg['host'] | ||
*/ | ||
|
||
$txpcfg['host'] = 'localhost'; | ||
$txpcfg['host'] = 'localhost'; | ||
|
||
/** | ||
* table prefix (Use ONLY if you require multiple installs in one db) | ||
* Table prefix. | ||
* | ||
* Use only if you require multiple installs in one database. | ||
* | ||
* @global string $txpcfg['table_prefix'] | ||
*/ | ||
|
||
$txpcfg['table_prefix'] = ''; | ||
$txpcfg['table_prefix'] = ''; | ||
|
||
/** | ||
* full server path to textpattern dir (no slash at end) | ||
* Full server path to textpattern directory, no slash at the end. | ||
* | ||
* @global string $txpcfg['txpath'] | ||
*/ | ||
|
||
$txpcfg['txpath'] = '/home/path/to/textpattern'; | ||
$txpcfg['txpath'] = '/home/path/to/textpattern'; | ||
|
||
/** | ||
* DB Connection Charset, only for MySQL4.1 and up. Must be equal to the Table-Charset. | ||
* Database connection charset. | ||
* | ||
* Only for MySQL 4.1 and up. Must be equal to the table-charset, e.g. latin1 | ||
* or utf8. | ||
* | ||
* @global string $txpcfg['dbcharset'] | ||
*/ | ||
|
||
$txpcfg['dbcharset'] = 'latin1'; | ||
$txpcfg['dbcharset'] = 'utf8'; | ||
|
||
/** | ||
* optional: database client flags as needed (@see http://www.php.net/manual/function.mysql-connect.php) | ||
* Database client flags. | ||
* | ||
* These are optional. Use the database client flags as needed. | ||
* Available flags include: MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, | ||
* MYSQL_CLIENT_IGNORE_SPACE, MYSQL_CLIENT_INTERACTIVE | ||
* | ||
* @global int $txpcfg['client_flags'] | ||
* @link http://www.php.net/manual/function.mysql-connect.php | ||
*/ | ||
|
||
# $txpcfg['client_flags'] = MYSQL_CLIENT_SSL | MYSQL_CLIENT_COMPRESS; | ||
$txpcfg['client_flags'] = 0; | ||
|
||
/* | ||
* Optional, advanced: http address of the site serving images | ||
* see http://forum.textpattern.com/viewtopic.php?id=34493 | ||
*/ | ||
|
||
define('txpath', $txpcfg['txpath']); | ||
// define('ihu', 'http://static.example.com/'); |