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
2015-04-05 18:24:07 +02:00

26 lines
1,009 B
PHP

<?php
// Flashii Configuration
$sakuraConf = array(); // Define configuration array
// PDO Database Connection
$sakuraConf['db'] = array();
$sakuraConf['db']['driver'] = 'mysql';
$sakuraConf['db']['unixsocket'] = false;
$sakuraConf['db']['host'] = 'localhost';
$sakuraConf['db']['port'] = 3306;
$sakuraConf['db']['username'] = 'flashii';
$sakuraConf['db']['password'] = 'password';
$sakuraConf['db']['database'] = 'flashii';
$sakuraConf['db']['prefix'] = 'fii_';
// URLs (for modularity)
$sakuraConf['urls']['main'] = 'flashii.net';
$sakuraConf['urls']['api'] = 'api.flashii.net';
$sakuraConf['urls']['content'] = 'cdn.flashii.net';
$sakuraConf['urls']['chat'] = 'chat.flashii.net';
$sakuraConf['urls']['manage'] = 'manage.flashii.net';
// Errata
$sakuraConf['etc']['localPath'] = '/var/www/flashii.net/';
$sakuraConf['etc']['templatesPath'] = $sakuraConf['etc']['localPath'] .'_sakura/templates/';
$sakuraConf['etc']['design'] = 'yuuno';