diff --git a/autoload.php b/autoload.php
index <HASH>..<HASH> 100644
--- a/autoload.php
+++ b/autoload.php
@@ -16,10 +16,10 @@
 /*
  * Some helper functions are outside classes and need to be loaded
  */
-require_once './src/functions.php';
-require_once './src/Http/Psr7/functions.php';
+require_once __DIR__.'/src/functions.php';
+require_once __DIR__.'/src/Http/Psr7/functions.php';
 
-/**
+/*
  * Based on https://www.php-fig.org/psr/psr-4/examples/.
  */
 spl_autoload_register(function ($class) {
@@ -50,7 +50,6 @@ spl_autoload_register(function ($class) {
     }
 });
 
-
 spl_autoload_register(function ($class) {
     $prefixes = array(
         'Psr\\Http\\Message\\' => 'psr/http-message/src/',
fix autoloader when not using composer