[various] Move mod/settings.php to src/Module
- Remove reference to mod/settings.php - Update settings/addons route
This commit is contained in:
parent
ddf87440b2
commit
2643259a93
File diff suppressed because one or more lines are too long
|
@ -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 }}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user