~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to docker/tmp/settings.php-template

  • Committer: Dan Garner
  • Date: 2016-02-15 17:54:45 UTC
  • mto: (454.4.130)
  • mto: This revision was merged to the branch mainline in revision 484.
  • Revision ID: git-v1:dd226a6f84464ff28758a249e1fd52ca4a35d911
Correction to Layout Duration ToolTip
xibosignage/xibo#721

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
/*
4
 
 * Xibo - Digital Signage - http://www.xibo.org.uk
5
 
 *
6
 
 * This file is part of Xibo - and is automatically generated by the installer
7
 
 *
8
 
 * You should not need to edit this file, unless your SQL connection details have changed.
9
 
 */
10
 
 
11
 
defined('XIBO') or die(__("Sorry, you are not allowed to directly access this page.") . "<br />" . __("Please press the back button in your browser."));
12
 
 
13
 
global $dbhost;
14
 
global $dbuser;
15
 
global $dbpass;
16
 
global $dbname;
17
 
 
18
 
$dbhost = $_SERVER['MYSQL_HOST'] . ':' . $_SERVER['MYSQL_PORT'];
19
 
$dbuser = $_SERVER['MYSQL_USER'];
20
 
$dbpass = $_SERVER['MYSQL_PASSWORD'];
21
 
$dbname = $_SERVER['MYSQL_DATABASE'];
22
 
 
23
 
if (!defined('SECRET_KEY'))
24
 
    define('SECRET_KEY','');
25
 
 
26
 
if (file_exists('/var/www/cms/custom/settings-custom.php'))
27
 
    include_once('/var/www/cms/custom/settings-custom.php');
28
 
 
29
 
?>