diff options
author | Camil Staps | 2016-08-01 11:30:19 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 11:30:19 +0200 |
commit | 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch) | |
tree | d704f32ee80088ba639ab51e5011932f9d45c747 /include/contacts.php | |
parent | Braintree status history (diff) |
Require paths
Diffstat (limited to 'include/contacts.php')
-rw-r--r-- | include/contacts.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/contacts.php b/include/contacts.php index 28656c9..2c9ba2f 100644 --- a/include/contacts.php +++ b/include/contacts.php @@ -17,9 +17,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -require_once('./index.php'); -require_once('./login.php'); -require('./header.php'); +require_once(__DIR__ . '/../index.php'); +require_once(__DIR__ . '/../login.php'); +require(__DIR__ . '/../header.php'); ?> <div id="wrapper"> @@ -95,5 +95,5 @@ require('./header.php'); <!-- /#wrapper --> <?php -require('./footer.php'); +require(__DIR__ . '/../footer.php'); ?> |