[various] Move mod/settings.php to src/Module

- Remove reference to mod/settings.php
- Update settings/addons route
This commit is contained in:
Hypolite Petovan 2022-11-05 00:03:07 -04:00
parent ddf87440b2
commit 2643259a93
4 changed files with 3 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,7 @@
3. Replace the render and staticRenderFns members in advancedcontentfilter.js by the contents of the anonymous() functions
-->
<div id="rules">
<p><a href="settings/addon">🔙 {{ messages.backtosettings }}</a></p>
<p><a href="settings/addons">🔙 {{ messages.backtosettings }}</a></p>
<h1>
{{ messages.title }}
&nbsp;

View file

@ -7,7 +7,7 @@ Scans the message content for the string 'nsfw'
with a "click to open/close" link, default is closed.
If you click on the 'Not safe for work' addon under
/settings/addon a text field appears, where you can
/settings/addons a text field appears, where you can
extend the list of search terms. The terms must be
seperated by commas.

View file

@ -63,9 +63,6 @@ function pumpio_content(App $a)
return '';
}
require_once 'mod/settings.php';
settings_init($a);
if (isset(DI::args()->getArgv()[1])) {
switch (DI::args()->getArgv()[1]) {
case 'connect':