Skip to content

Commit 6fbfd69

Browse files
pradtkethijskh
authored andcommitted
Fix cron/bin/cron.php message that tells how to enable module
1 parent 6d8486e commit 6fbfd69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cron/bin/cron.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
if (!SimpleSAML\Module::isModuleEnabled('cron')) {
1717
echo "You need to enable the cron module before this script can be used.\n";
18-
echo "You can enable it by running the following command:\n";
19-
echo ' echo >"' . $baseDir . '/modules/cron/enable' . "\"\n";
18+
echo "You can enable it by editing your config.php file. Example:\n";
19+
echo ' echo \'$config["module.enable"]["cron"] = true;\' >> "' . $baseDir . '/config/config.php' . "\"\n";
2020
exit(1);
2121
}
2222

0 commit comments

Comments
 (0)