aboutsummaryrefslogtreecommitdiff
path: root/include/assignments.php
diff options
context:
space:
mode:
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');
?>