From d3d528fffb9f46759b794d2d5800c1717546c240 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Mon, 30 May 2022 16:19:27 +0200
Subject: [PATCH] Fix docs and add symlink for legacy path to autoloader

---
 docs/simplesamlphp-sp.md | 2 +-
 lib/_autoload.php        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 120000 lib/_autoload.php

diff --git a/docs/simplesamlphp-sp.md b/docs/simplesamlphp-sp.md
index d169793dd..b74d706d1 100644
--- a/docs/simplesamlphp-sp.md
+++ b/docs/simplesamlphp-sp.md
@@ -157,7 +157,7 @@ Example code:
 We start off with loading a file which registers the SimpleSAMLphp classes with the autoloader.
 
 ```php
-require_once('../../lib/_autoload.php');
+require_once('../../src/_autoload.php');
 ```
 
 We select our authentication source:
diff --git a/lib/_autoload.php b/lib/_autoload.php
new file mode 120000
index 000000000..f4c049a35
--- /dev/null
+++ b/lib/_autoload.php
@@ -0,0 +1 @@
+../src/_autoload.php
\ No newline at end of file
-- 
GitLab