Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Commit e3f5cf2

Browse files
committed
fix: fix bad require of _autoload
1 parent 4b59531 commit e3f5cf2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

www/attribute_check.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
use SimpleSAML\Configuration;
77
use SimpleSAML\XHTML\Template;
88

9-
require_once(__DIR__ . '/../../../vendor/autoload.php');
9+
$baseDir = dirname(__DIR__, 3);
10+
11+
// Add library autoloader.
12+
require_once($baseDir . '/lib/_autoload.php');
1013

1114

1215
const CONFIG_FILE_NAME = 'config_attribute_check.php';

0 commit comments

Comments
 (0)