File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
- // This file overrules the defaults set in config_defaults.php
3
- // Use this file change your settings.
4
-
5
- if (file_exists ('config_defaults.php ' )) {
6
- require_once ('config_defaults.php ' );
7
- }
8
- else {
9
- die ('ERROR: Unable to open required file (config_defaults.php) ' );
10
- }
2
+ // DO NOT EDIT THIS FILE DIRECTLY!
3
+ // This file contains the default settings. These are overruled by config_user.php if it exists
4
+ // If you want to change these settings, copy config_user.php.example to config_user.php and make the changes there
11
5
12
6
// Configure the path of the BrewPi script for this instance of the
13
7
// web interface. Do not include the trailing / on the path.
14
- # $scriptPath = '/home/brewpi';
15
- ?>
8
+ $ scriptPath = '/home/brewpi ' ;
9
+
10
+ if (file_exists ('config_user.php ' )) {
11
+ require_once ('config_user.php ' );
12
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <?php
2
+ // The default settings in config.php are overruled by the settings in config_user.php
3
+ // To use custom settings, copy this file to config_user.php and make your changes in config_user.php
4
+ // do not add a php closing tag, because newlines after closing tag might be included in the html
5
+
6
+ // Do not include a trailing slash on the path
7
+ // $scriptPath = '/home/brewpi';
You can’t perform that action at this time.
0 commit comments