| 1 | <?php
|
|---|
| 2 | /**
|
|---|
| 3 | * Configuration file for Hotaru CMS.
|
|---|
| 4 | *
|
|---|
| 5 | * PHP version 5
|
|---|
| 6 | *
|
|---|
| 7 | * LICENSE: Hotaru CMS is free software: you can redistribute it and/or
|
|---|
| 8 | * modify it under the terms of the GNU General Public License as
|
|---|
| 9 | * published by the Free Software Foundation, either version 3 of
|
|---|
| 10 | * the License, or (at your option) any later version.
|
|---|
| 11 | *
|
|---|
| 12 | * Hotaru CMS is distributed in the hope that it will be useful, but WITHOUT
|
|---|
| 13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|---|
| 14 | * FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 15 | *
|
|---|
| 16 | * You should have received a copy of the GNU General Public License along
|
|---|
| 17 | * with Hotaru CMS. If not, see http://www.gnu.org/licenses/.
|
|---|
| 18 | *
|
|---|
| 19 | * @category Content Management System
|
|---|
| 20 | * @package HotaruCMS
|
|---|
| 21 | * @author Nick Ramsay <admin@hotarucms.org>
|
|---|
| 22 | * @copyright Copyright (c) 2010, Hotaru CMS
|
|---|
| 23 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
|
|---|
| 24 | * @link http://www.hotarucms.org/
|
|---|
| 25 | */
|
|---|
| 26 |
|
|---|
| 27 | // EDIT THE FOLLOWING ONLY
|
|---|
| 28 |
|
|---|
| 29 | // Database details
|
|---|
| 30 | define("DB_USER", 'root'); // Add your own database details
|
|---|
| 31 | define("DB_PASSWORD", '');
|
|---|
| 32 | define("DB_NAME", 'hotaru');
|
|---|
| 33 | define("DB_HOST", 'localhost'); // You probably won't need to change this
|
|---|
| 34 |
|
|---|
| 35 | define("DB_PREFIX", 'hotaru_'); // Database prefix, e.g. "hotaru_"
|
|---|
| 36 | define("DB_LANG", 'en'); // Database language, e.g. "en"
|
|---|
| 37 | define("DB_ENGINE", 'MyISAM'); // Database Engine, e.g. "MyISAM"
|
|---|
| 38 | define('DB_CHARSET', 'utf8'); // Database Character Set (UTF8 is Recommended), e.g. "utf8"
|
|---|
| 39 | define("DB_COLLATE", 'utf8_unicode_ci'); // Database Collation (UTF8 is Recommended), e.g. "utf8_unicode_ci"
|
|---|
| 40 |
|
|---|
| 41 | // Paths
|
|---|
| 42 | define('BASEURL', "http://example.com/"); // e.g. http://example.com/
|
|---|
| 43 | // Needs trailing slash (/)
|
|---|
| 44 |
|
|---|
| 45 | // DON'T EDIT ANYTHING BEYOND THIS POINT
|
|---|
| 46 |
|
|---|
| 47 | // define shorthand paths
|
|---|
| 48 | define("BASE", dirname(__FILE__). '/');
|
|---|
| 49 | define("ADMIN", dirname(__FILE__).'/admin/');
|
|---|
| 50 | define("CACHE", dirname(__FILE__). '/cache/');
|
|---|
| 51 | define("INSTALL", dirname(__FILE__).'/install/');
|
|---|
| 52 | define("LIBS", dirname(__FILE__).'/libs/');
|
|---|
| 53 | define("EXTENSIONS", dirname(__FILE__).'/libs/extensions/');
|
|---|
| 54 | define("FUNCTIONS", dirname(__FILE__).'/functions/');
|
|---|
| 55 | define("THEMES", dirname(__FILE__).'/content/themes/');
|
|---|
| 56 | define("PLUGINS", dirname(__FILE__).'/content/plugins/');
|
|---|
| 57 | define("ADMIN_THEMES", dirname(__FILE__).'/content/admin_themes/');
|
|---|
| 58 |
|
|---|
| 59 | ?> |
|---|