【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-settings.inc.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<?php
//普通设置
$group = 0; //默认为0,打开主页
$index_refer = 1; // pages of the webshop cannot be opened if this value is unset
error_reporting(E_ALL ^ E_NOTICE);
// file locations (leave default if shop is on same server as all the other files)
$gfx_dir = "gfx";
$product_dir = "prodgfx"; // cmod this folder to 777, because we will be uploading images to it
$brands_dir = "cats";
$orders_dir = "orders"; // chmod this folder to 777, because the shop needs to write in it
$lang_dir = "langs";
$themes_dir = "themes";
// if this is a clean install, then YES there is a part
missing at the end of this file.
// But it will be added during installation
// database values
$dblocation = "localhost";
$dbname = "
webshop";
$dbuser = "root";
$dbpass = "123456";
// SMTP values (OPTIONAL, LEAVE SERVER EMPTY IF YOU WANT TO USE
PHPs MAIL() )
$smtp_server = "";
$smtp_port = "25";
$smtp_user = "";
$smtp_pass = "";
?>