aboutsummaryrefslogtreecommitdiff
path: root/include/contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/contacts.php')
-rw-r--r--include/contacts.php8
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');
?>