FeedOnFeeds/fof-config-sample.php

49 lines
1.1 KiB
PHP
Raw Normal View History

2007-01-02 04:41:22 +03:00
<?php
/*
* This file is part of FEED ON FEEDS - http://feedonfeeds.com/
*
* config.php - modify this file with your database settings
*
*
2007-06-08 05:45:27 +04:00
* Copyright (C) 2004-2007 Stephen Minutillo
2007-01-02 04:41:22 +03:00
* steve@minutillo.com - http://minutillo.com/steve/
*
* Distributed under the GPL - see LICENSE
*
*/
// Database connection information. Host, username, password, database name.
2007-06-08 05:45:27 +04:00
define('FOF_DB_HOST', "host.example.com");
define('FOF_DB_USER', "username");
2007-01-02 04:41:22 +03:00
define('FOF_DB_PASS', "password");
2007-06-08 05:45:27 +04:00
define('FOF_DB_DBNAME', "database");
2007-01-02 04:41:22 +03:00
// The rest you should not need to change
// DB table names
2007-06-08 05:45:27 +04:00
define('FOF_DB_PREFIX', "fof_");
2007-01-02 04:41:22 +03:00
define('FOF_FEED_TABLE', FOF_DB_PREFIX . "feed");
define('FOF_ITEM_TABLE', FOF_DB_PREFIX . "item");
define('FOF_ITEM_TAG_TABLE', FOF_DB_PREFIX . "item_tag");
define('FOF_SUBSCRIPTION_TABLE', FOF_DB_PREFIX . "subscription");
define('FOF_TAG_TABLE', FOF_DB_PREFIX . "tag");
define('FOF_USER_TABLE', FOF_DB_PREFIX . "user");
// Find ourselves and the cache dir
if (!defined('DIR_SEP')) {
define('DIR_SEP', DIRECTORY_SEPARATOR);
}
if (!defined('FOF_DIR')) {
define('FOF_DIR', dirname(__FILE__) . DIR_SEP);
}
?>