This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/config/config.example.php

27 lines
1.5 KiB
PHP
Raw Normal View History

2015-04-05 16:24:07 +00:00
<?php
2015-04-25 20:08:44 +00:00
// Sakura Configuration
2015-04-05 16:24:07 +00:00
$sakuraConf = array(); // Define configuration array
// PDO Database Connection
$sakuraConf['db'] = array();
2015-04-14 14:27:37 +00:00
$sakuraConf['db']['driver'] = 'mysql'; // SQL Driver contained in the components/database folder
$sakuraConf['db']['unixsocket'] = false; // Use internal UNIX system sockets (would not work on Windows)
$sakuraConf['db']['host'] = 'localhost'; // SQL Hosts (or path to socket in the case that you're using them)
$sakuraConf['db']['port'] = 3306; // SQL Port (does nothing when UNIX sockets are used)
2015-04-25 20:08:44 +00:00
$sakuraConf['db']['username'] = 'sakura'; // Database authentication username
2015-04-14 14:27:37 +00:00
$sakuraConf['db']['password'] = 'password'; // Database authentication password
2015-04-25 20:08:44 +00:00
$sakuraConf['db']['database'] = 'sakura'; // Database name
$sakuraConf['db']['prefix'] = 'sakura_'; // Table Prefix
2015-04-05 16:24:07 +00:00
// URLs (for modularity)
2015-04-14 14:27:37 +00:00
$sakuraConf['urls']['main'] = 'flashii.net'; // Main site url
$sakuraConf['urls']['api'] = 'api.flashii.net'; // API url
$sakuraConf['urls']['content'] = 'cdn.flashii.net'; // Content directory url
$sakuraConf['urls']['chat'] = 'chat.flashii.net'; // Chat url
$sakuraConf['urls']['manage'] = 'manage.flashii.net'; // Moderator panel url
2015-04-05 16:24:07 +00:00
// Errata
2015-04-18 18:26:52 +00:00
$sakuraConf['etc']['cfhosts'] = ROOT .'_sakura/config/cloudflare.hosts'; // Cloudflare IP subnets file
$sakuraConf['etc']['whoisservers'] = ROOT .'_sakura/config/whois.json'; // JSON with Whois servers
2015-04-27 00:41:59 +00:00
$sakuraConf['etc']['iso3166'] = ROOT .'_sakura/config/iso3166.json'; // JSON with country codes