Web Site Configuring
Directory _conf
Configuration is saved in the "_conf" directory in the files: _dbconf.php and _siteconf.php. Variables in these files contain information about the database, languages, emails, styles and other functions.
Note: These data cannot be changed from the admin panel!
File _dbconf.php
- database name
$GLOBALS['DBConf']['dbname'] = 'db_name';
- host
$GLOBALS['DBConf']['server'] = 'localhost';
- user and password
$GLOBALS['DBConf']['user'] = 'db_user';
$GLOBALS['DBConf']['password'] = 'db_pass';
File _siteconf.php
- site admnistrator
$GLOBALS['Conf']['AdminMail'] = support@yoursite.com;
- webmaster
$GLOBALS['Conf']['FromMail'] = info@yoursite.com;
- dafault language
$GLOBALS['Conf']['DefaultLang'] = 'en';
- languages
$GLOBALS['Conf']['AvailLangs'] = array('de','en';
- names of languages
$GLOBALS['Conf']['NameLangs'] = array('German','English');
- default template
define("DEFAULT_PAGE_TEMPLATE", "_default.phtml");
- styles
$GLOBALS['Conf']['AvailHt'] = array('style_blue.css', 'style_red.css');
- default styles
define("DEFAULT_PAGE_STYLE",'style_blue.css');
Other Files and Directories
Content Management System by Comm Solutions was designed to be easily reconfigured and enhanced according to our clients’ requirements. A system of template management allows modifying your website design quickly.
Templates directory : _pub/templates
Images directory : _pub/images
Styles directory : _pub/files/styles
7bf810afbbd3cf2e06a029c79c1c0527