-
Notifications
You must be signed in to change notification settings - Fork 10
/
_include.php
20 lines (19 loc) · 974 Bytes
/
_include.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/****************************************************************************\
* TaskFreak! *
* multi user *
******************************************************************************
* Version: 0.6.3 *
* Authors: Stan Ozier <[email protected]> *
* License: http://www.gnu.org/licenses/gpl.txt (GPL) *
\****************************************************************************/
if (@is_readable('./include/config.php')) {
include './include/config.php';
} else if (@is_readable('../include/config.php')) {
include '../include/config.php';
} else {
header('Location: error.php?tznMessage='
.urlencode('Could not find or access config.php file. Please edit _include.php file.'));
exit;
}
?>