config.php

来自「软件类别: PHP源码 / 文章管理 软件语言: 简体中文 授权方式: 」· PHP 代码 · 共 36 行

PHP
36
字号
<?php// type of database running// (only mysql is supported at the moment)$dbservertype = "mysql";// hostname or ip of server$dbservername = "localhost";// username and password to log onto db server$dbusername = "root";$dbpassword = "root";// name of database$dbname = "virtuanews";// technical email address, to specify multiple emails seperate each one with a space$technicalemail = "your-name@your-host.com";// set the staff ids for the users which can prune the admin log// enter a single id, or a string of ids seperated by a , eg. "1,5,7"$canprunelog = "1";// 0 shows no debug info// 1 allows creation times to be viewed by adding showqueries=1 onto the query string,// also displays the time in the admin panel// 2 allows sql queries to be viewed also by adding showqueries=1 onto the query string$debug = 1;// If you have a problem having the directory /admin/ on your server then change this variable below// Please ensure you do not have a / as the first or that last character// You must also edit the file admin/toggle.js to replace admin/ with whatever you want// Also, you MUST edit global.php and admin.php and edit the line saying require("admin/config.php");// to point it to this file$admindirectory = "admin";?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?