aboutsummaryrefslogtreecommitdiff
path: root/include/assignments.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 11:30:19 +0200
committerCamil Staps2016-08-01 11:30:19 +0200
commit8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch)
treed704f32ee80088ba639ab51e5011932f9d45c747 /include/assignments.php
parentBraintree status history (diff)
Require paths
Diffstat (limited to 'include/assignments.php')
-rw-r--r--include/assignments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assignments.php b/include/assignments.php
index 32e0c20..9f5526f 100644
--- a/include/assignments.php
+++ b/include/assignments.php
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-require_once('./index.php');
-require_once('./login.php');
+require_once(__DIR__ . '/../index.php');
+require_once(__DIR__ . '/../login.php');
require('./header.php');
?>