Skip to content

Commit 9d6c028

Browse files
committed
Fix path to autoloader
1 parent 536e650 commit 9d6c028

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

bin/metarefresh.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$baseDir = dirname(__FILE__, 4);
1313

1414
// Add library autoloader.
15-
require_once($baseDir . '/lib/_autoload.php');
15+
require_once($baseDir . '/src/_autoload.php');
1616

1717
if (!\SimpleSAML\Module::isModuleEnabled('metarefresh')) {
1818
echo "You need to enable the metarefresh module before this script can be used.\n";

edugain.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Warning: require_once(/apps/lib/_autoload.php): Failed to open stream: No such file or directory in /apps/development/simplesamlphp-module-metarefresh/bin/metarefresh.php on line 15
3+
4+
Fatal error: Uncaught Error: Failed opening required '/apps/lib/_autoload.php' (include_path='.:/opt/remi/php84/root/usr/share/pear:/opt/remi/php84/root/usr/share/php:/usr/share/pear:/usr/share/php') in /apps/development/simplesamlphp-module-metarefresh/bin/metarefresh.php:15
5+
Stack trace:
6+
#0 {main}
7+
thrown in /apps/development/simplesamlphp-module-metarefresh/bin/metarefresh.php on line 15

0 commit comments

Comments
 (0)