mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 23:43:42 +00:00
Merge pull request #1304 from MrPetovan/task/4090-move-mod-settings
[various] Move mod/settings.php to src/Module
This commit is contained in:
commit
9cee85c4d6
4 changed files with 3 additions and 6 deletions
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 a new issue