跳到主要内容

脚本配置文件的位置

配置文件是许多脚本和应用程序的基础。它们存储设置、偏好和决定脚本运行的关键信息。从数据库连接到用户偏好,这些文件对于定制和维护软件行为至关重要。
这些路径是相对于脚本根目录的,而不是账户或域名的根目录。因此,如果是一个 vBulletin 论坛,位于 /home/username/www/forum/ 下,配置文件则位于 /home/username/www/forum/includes/config.php。

以下是常见脚本及其配置文件路径:

软件名称配置文件路径
4Images Gallery/config.php
B2 Evolution/conf/_basic_config.php
Boonex Dolphin/inc/header.inc.php
Concrete5/site/config.php
Coppermine Photo Gallery/include/config.inc.php
Crafty Syntax Live Help/config.php
Cube Cart/includes/global.inc.php
dotProject/includes/config.php
Drupal/sites/default/settings.php
e107/e107_config.php
Geeklog/db-config.php
Geeklog 附加配置文件/siteconfig.php
Geeklog 附加配置文件/lib-common.php
glfusion/private/db-config.php
Hotaru/hotaru_settings.php
Joomla/configuration.php
LiveSite\local\config\lib\content_center\livesite_customer_src\etc\conf\livesite_customer\database.properties
LifeType/config/config.properties.php
Magento/app/etc/local.xml
Mambo/configuration.php
MODx/core/config/config.inc.php
Moodle/config.php
MyBB/inc/config.php
Noahs Classifieds/app/config.php
Nucleus/config.php
ocPortal/info.php
osCommerce/includes/configure.php
osCommerce 管理员配置文件/admin/includes/configure.php
PHP-Nuke/config.php
phpBB/config.php
phpFormGenerator/index.php
phpFormGenerator 附加文件/mysql.class.php
phpFreeChat(仅当您将表单输入保存到数据库时)
phpFreeChat 管理配置文件/forms/admin/config.inc.php
PHPlist/config/config.php
phpMyDirectory/defaults.php
phpWCMS/include/inc_conf/conf.inc.php
phpWebSite/conf/config.php
PhpWiki/admin.php
PhpWiki 附加配置文件/lib/config.php
Pligg/libs/dbconnect.php
Post-Nuke/config.php
Saurus CMS/config.php
Siteframe/config.php
SMF/Settings.php
Soholaunch/sohoadmin/config/isp.conf.php
Textpattern/textpattern/config.php
Tiki/db/local.php
Trendy Site Builder(不适用)
TYPO3/typo3conf/localconf.php
vBulletin/includes/config.php
WebCalendar/includes/settings.php
WHMCS/configuration.php
WordPress/wp-config.php
X7 Chat/config.php
Xoops/mainfile.php
Zen Cart/includes/configure.php
Zen Cart 管理员配置文件/admin/includes/configure.php
Zikula/config.php