Skip to content

Commit 5fa0887

Browse files
committed
Move config.php to /include
1 parent 059f78c commit 5fa0887

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cache/
2-
config.php
2+
include/config.php

include/common.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
}
3333

3434
// Attempt to load the configuration file config.php
35-
if (file_exists(PUN_ROOT.'config.php')) {
36-
require PUN_ROOT.'config.php';
35+
if (file_exists(PUN_ROOT.'include/config.php')) {
36+
require PUN_ROOT.'include/config.php';
3737
}
3838

3939
// If we have the 1.3-legacy constant defined, define the proper 1.4 constant so we don't get an incorrect "need to install" message

0 commit comments

Comments
 (0)