2016-01-15 20:17:21 +00:00
|
|
|
<?php
|
2017-07-21 15:22:03 +00:00
|
|
|
/*
|
2016-01-15 20:17:21 +00:00
|
|
|
* Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2017-07-21 15:22:03 +00:00
|
|
|
|
2016-01-15 20:17:21 +00:00
|
|
|
//Database settings
|
2016-12-12 22:19:00 +00:00
|
|
|
$config['db_type'] = "mysql";
|
2016-01-15 20:17:21 +00:00
|
|
|
$config['db_host'] = "localhost";
|
|
|
|
$config['db_user'] = "root";
|
|
|
|
$config['db_password'] = "";
|
|
|
|
$config['db_port'] = 3306;
|
|
|
|
$config['db_name'] = "pdnsmanager";
|
2017-07-21 15:22:03 +00:00
|
|
|
|
2016-02-06 10:28:27 +00:00
|
|
|
//Remote update
|
|
|
|
$config['nonce_lifetime'] = 15;
|
2017-07-21 15:22:03 +00:00
|
|
|
|
2016-06-07 17:00:35 +00:00
|
|
|
//Number of rows in domain overview
|
|
|
|
$config['domain_rows'] = 15;
|
2017-07-21 15:21:17 +00:00
|
|
|
|
|
|
|
// If config-user.php does not exist, redirect to the setup page
|
|
|
|
if(!(include 'config-user.php')) {
|
|
|
|
Header("Location: install.php");
|
|
|
|
}
|