Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move AWS end points and pages to own directory #56 #64

Merged
merged 1 commit into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions suppression_list.php → aws/suppression_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @author Waleed ul hassan <[email protected]>
*/

require_once(__DIR__ . '/../../../config.php');
require_once(__DIR__ . '/../../../../config.php');
require_once($CFG->libdir . '/adminlib.php');

// Ensure the user is logged in and has the necessary permissions.
Expand All @@ -49,7 +49,7 @@
echo html_writer::start_tag('div', ['class' => 'suppressionlist-download']);
echo html_writer::tag('p', get_string('suppressionlistdesc', 'tool_emailutils'));
echo html_writer::link(
new moodle_url('/admin/tool/emailutils/suppression_list.php', ['action' => 'download']),
new moodle_url('/admin/tool/emailutils/aws/suppression_list.php', ['action' => 'download']),
get_string('downloadsuppressionlist', 'tool_emailutils'),
['class' => 'btn btn-primary']
);
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
$ADMIN->add('tool_emailutils', new admin_externalpage(
'toolemailutilssuppressionlist',
new lang_string('suppressionlist', 'tool_emailutils'),
new moodle_url('/admin/tool/emailutils/suppression_list.php')
new moodle_url('/admin/tool/emailutils/aws/suppression_list.php')
));

// Add AWS credentials settings.
Expand Down
Loading