This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
New class "System"
pull/3658/head
Michael
4 years ago
parent
b0c26921ad
commit
3c24bed412
121 changed files
with
197 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
boot.php
+1
-0
include/Contact.php
+1
-0
include/Photo.php
+1
-0
include/Smilies.php
+1
-0
include/api.php
+1
-0
include/auth.php
+1
-0
include/bb2diaspora.php
+1
-0
include/bbcode.php
+1
-0
include/contact_widgets.php
+1
-0
include/conversation.php
+1
-0
include/dbstructure.php
+1
-0
include/delivery.php
+1
-0
include/dfrn.php
+1
-0
include/diaspora.php
+1
-0
include/enotify.php
+1
-0
include/event.php
+1
-0
include/follow.php
+1
-0
include/identity.php
+1
-0
include/items.php
+1
-0
include/like.php
+1
-0
include/message.php
+1
-0
include/nav.php
+1
-0
include/network.php
+1
-0
include/oauth.php
+1
-0
include/oembed.php
+1
-0
include/ostatus.php
+1
-0
include/plugin.php
+1
-0
include/poller.php
+1
-0
include/pubsubpublish.php
+1
-0
include/redir.php
+1
-0
include/security.php
+1
-0
include/socgraph.php
+1
-0
include/tags.php
+1
-0
include/text.php
+1
-0
include/threads.php
+1
-0
include/uimport.php
+1
-0
index.php
+1
-0
mod/admin.php
+1
-0
mod/allfriends.php
+1
-0
mod/bookmarklet.php
+1
-0
mod/cal.php
+1
-0
mod/contacts.php
+1
-0
mod/content.php
+1
-0
mod/delegate.php
+1
-0
mod/dfrn_confirm.php
+1
-0
mod/dfrn_poll.php
+1
-0
mod/dfrn_request.php
+1
-0
mod/dirfind.php
+1
-0
mod/display.php
+1
-0
mod/editpost.php
+1
-0
mod/events.php
+1
-0
mod/fbrowser.php
+1
-0
mod/fetch.php
+1
-0
mod/filerm.php
+1
-0
mod/follow.php
+1
-0
mod/friendica.php
+1
-0
mod/group.php
+1
-0
mod/hcard.php
+1
-0
mod/help.php
+1
-0
mod/home.php
+1
-0
mod/ignored.php
+1
-0
mod/install.php
+1
-0
mod/invite.php
+1
-0
mod/item.php
+1
-0
mod/like.php
+2
-1
mod/localtime.php
+1
-0
mod/lostpass.php
+1
-0
mod/manage.php
+1
-0
mod/manifest.php
+1
-0
mod/match.php
+1
-0
mod/message.php
+1
-0
mod/mood.php
+1
-0
mod/msearch.php
+1
-0
mod/navigation.php
+1
-0
mod/network.php
+1
-0
mod/nodeinfo.php
+1
-0
mod/noscrape.php
+1
-0
mod/notice.php
+1
-0
mod/notify.php
+1
-0
mod/oexchange.php
+1
-0
mod/openid.php
+1
-0
mod/opensearch.php
+1
-0
mod/ostatus_subscribe.php
+1
-0
mod/p.php
+1
-0
mod/photos.php
+1
-0
mod/ping.php
+1
-0
mod/poke.php
+1
-0
mod/profile.php
+1
-0
mod/profile_photo.php
+1
-0
mod/profiles.php
+1
-0
mod/proxy.php
+1
-0
mod/randprof.php
+1
-0
mod/redir.php
+1
-0
mod/register.php
+1
-0
mod/regmod.php
+1
-0
mod/removeme.php
+1
-0
mod/repair_ostatus.php
+2
-1
mod/rsd_xml.php
+1
-0
mod/settings.php
+1
-0
mod/starred.php
+ 1
- 0
boot.php
View File
@ -21,6 +21,7 @@
require_once
(
__DIR__
.
DIRECTORY_SEPARATOR
.
'vendor'
.
DIRECTORY_SEPARATOR
.
'autoload.php'
);
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Util\Lock
;
+ 1
- 0
include/Contact.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
// Included here for completeness, but this is a very dangerous operation.
+ 1
- 0
include/Photo.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/photos.php
"
);
+ 1
- 0
include/Smilies.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
/**
*
This
class
contains
functions
to
handle
smiles
+ 1
- 0
include/api.php
View File
@ -7,6 +7,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/HTTPExceptions.php'
;
+ 1
- 0
include/auth.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
(
'include/security.php'
);
+ 1
- 0
include/bb2diaspora.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
use
League\HTMLToMarkdown\HtmlConverter
;
+ 1
- 0
include/bbcode.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/oembed.php'
;
+ 1
- 0
include/contact_widgets.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/contact_selectors.php'
;
+ 1
- 0
include/conversation.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
"
include/bbcode.php
"
;
require_once
"
include/acl_selectors.php
"
;
+ 1
- 0
include/dbstructure.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
"
boot.php
"
;
+ 1
- 0
include/delivery.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/queue_fn.php'
;
+ 1
- 0
include/dfrn.php
View File
@ -8,6 +8,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/Contact.php
"
);
require_once
(
"
include/ostatus.php
"
);
+ 1
- 0
include/diaspora.php
View File
@ -9,6 +9,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/items.php'
;
+ 1
- 0
include/enotify.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/Emailer.php'
);
require_once
(
'include/email.php'
);
+ 1
- 0
include/event.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/bbcode.php'
;
require_once
'include/map.php'
;
+ 1
- 0
include/follow.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/probe.php'
;
require_once
'include/socgraph.php'
;
+ 1
- 0
include/identity.php
View File
@ -4,6 +4,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/ForumManager.php'
;
require_once
'include/bbcode.php'
;
+ 1
- 0
include/items.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\ParseUrl
;
use
Friendica\Util\Lock
;
use
Friendica\Core\Config
;
+ 1
- 0
include/like.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/diaspora.php
"
);
+ 1
- 0
include/message.php
View File
@ -3,6 +3,7 @@
// send a private message
use
Friendica\App
;
use
Friendica\Core\System
;
function
send_message
(
$recipient
=
0
,
$body
=
''
,
$subject
=
''
,
$replyto
=
''
){
+ 1
- 0
include/nav.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
nav
(
App
$a
)
{
+ 1
- 0
include/network.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Network\Probe
;
+ 1
- 0
include/oauth.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
define
(
'REQUEST_TOKEN_DURATION'
,
300
);
define
(
'ACCESS_TOKEN_DURATION'
,
31536000
);
+ 1
- 0
include/oembed.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\ParseUrl
;
use
Friendica\Core\Config
;
+ 1
- 0
include/ostatus.php
View File
@ -4,6 +4,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Network\Probe
;
+ 1
- 0
include/plugin.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
/**
*
@
brief
uninstalls
an
addon
.
+ 1
- 0
include/poller.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Util\Lock
;
+ 1
- 0
include/pubsubpublish.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
(
'include/items.php'
);
+ 1
- 0
include/redir.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
auto_redir
(
App
$a
,
$contact_nick
)
{
+ 1
- 0
include/security.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
/**
*
@
brief
Calculate
the
hash
that
is
needed
for
the
"
Friendica
"
cookie
+ 1
- 0
include/socgraph.php
View File
@ -8,6 +8,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Network\Probe
;
+ 1
- 0
include/tags.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
create_tags_from_item
(
$itemid
)
{
$profile_base
=
App
::
get_baseurl
();
+ 1
- 0
include/text.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
"
include/template_processor.php
"
;
require_once
"
include/friendica_smarty.php
"
;
+ 1
- 0
include/threads.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
add_thread
(
$itemid
,
$onlyshadow
=
false
)
{
$items
=
q
(
"
SELECT `uid`, `created`, `edited`, `commented`, `received`, `changed`, `wall`, `private`, `pubmail`,
+ 1
- 0
include/uimport.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/Photo.php
"
);
define
(
"
IMPORT_DEBUG
"
,
False
);
+ 1
- 0
index.php
View File
@ -14,6 +14,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'boot.php'
;
+ 1
- 0
mod/admin.php
View File
@ -7,6 +7,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
(
"
include/enotify.php
"
);
+ 1
- 0
mod/allfriends.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/socgraph.php'
);
require_once
(
'include/Contact.php'
);
+ 1
- 0
mod/bookmarklet.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/conversation.php'
);
require_once
(
'include/items.php'
);
+ 1
- 0
mod/cal.php
View File
@ -7,6 +7,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/event.php'
);
require_once
(
'include/redir.php'
);
+ 1
- 0
mod/contacts.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
require_once
'include/Contact.php'
;
+ 1
- 0
mod/content.php
View File
@ -16,6 +16,7 @@
// and 10-20 milliseconds to fetch all the child items.
use
Friendica\App
;
use
Friendica\Core\System
;
function
content_content
(
App
$a
,
$update
=
0
)
{
+ 1
- 0
mod/delegate.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'mod/settings.php'
);
+ 1
- 0
mod/dfrn_confirm.php
View File
@ -19,6 +19,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
require_once
'include/enotify.php'
;
+ 1
- 0
mod/dfrn_poll.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/items.php'
);
require_once
(
'include/auth.php'
);
+ 1
- 0
mod/dfrn_request.php
View File
@ -13,6 +13,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
require_once
'include/enotify.php'
;
+ 1
- 0
mod/dirfind.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/contact_widgets.php'
;
require_once
'include/probe.php'
;
+ 1
- 0
mod/display.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/dfrn.php'
);
+ 1
- 0
mod/editpost.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/acl_selectors.php'
);
+ 1
- 0
mod/events.php
View File
@ -5,6 +5,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/bbcode.php'
;
require_once
'include/datetime.php'
;
+ 1
- 0
mod/fbrowser.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/Photo.php'
);
+ 1
- 0
mod/fetch.php
View File
@ -4,6 +4,7 @@ This file is part of the Diaspora protocol. It is used for fetching single publi
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/crypto.php
"
);
require_once
(
"
include/diaspora.php
"
);
+ 1
- 0
mod/filerm.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
filerm_content
(
App
$a
)
{
+ 1
- 0
mod/follow.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/probe.php'
;
require_once
'include/follow.php'
;
+ 1
- 0
mod/friendica.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
function
friendica_init
(
App
$a
)
{
+ 1
- 0
mod/group.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
function
group_init
(
App
$a
)
{
if
(
local_user
())
{
+ 1
- 0
mod/hcard.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
hcard_init
(
App
$a
)
{
+ 1
- 0
mod/help.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'library/markdown.php'
);
+ 1
- 0
mod/home.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
if
(
!
function_exists
(
'home_init'
))
{
function
home_init
(
App
$a
)
{
+ 1
- 0
mod/ignored.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
ignored_init
(
App
$a
)
{
+ 1
- 0
mod/install.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
"
include/Photo.php
"
;
+ 1
- 0
mod/invite.php
View File
@ -8,6 +8,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/email.php'
);
+ 1
- 0
mod/item.php
View File
@ -16,6 +16,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/crypto.php'
;
require_once
'include/enotify.php'
;
+ 1
- 0
mod/like.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/security.php'
);
require_once
(
'include/bbcode.php'
);
+ 2
- 1
mod/localtime.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/datetime.php'
);
@ -47,4 +48,4 @@ function localtime_content(App $a) {
return
$o
;
}
}
+ 1
- 0
mod/lostpass.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/email.php'
);
require_once
(
'include/enotify.php'
);
+ 1
- 0
mod/manage.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/text.php
"
);
+ 1
- 0
mod/manifest.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
function
manifest_content
(
App
$a
)
{
+ 1
- 0
mod/match.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/text.php'
);
require_once
(
'include/socgraph.php'
);
+ 1
- 0
mod/message.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/acl_selectors.php'
);
require_once
(
'include/message.php'
);
+ 1
- 0
mod/mood.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/security.php'
);
require_once
(
'include/bbcode.php'
);
+ 1
- 0
mod/msearch.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
msearch_post
(
App
$a
)
{
+ 1
- 0
mod/navigation.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/nav.php
"
);
+ 1
- 0
mod/network.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
network_init
(
App
$a
)
{
if
(
!
local_user
())
{
+ 1
- 0
mod/nodeinfo.php
View File
@ -6,6 +6,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
require_once
'include/plugin.php'
;
+ 1
- 0
mod/noscrape.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
noscrape_init
(
App
$a
)
{
+ 1
- 0
mod/notice.php
View File
@ -3,6 +3,7 @@
/* identi.ca -> friendica items permanent-url compatibility */
use
Friendica\App
;
use
Friendica\Core\System
;
function
notice_init
(
App
$a
)
{
+ 1
- 0
mod/notify.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/NotificationsManager.php'
);
+ 1
- 0
mod/oexchange.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
oexchange_init
(
App
$a
)
{
+ 1
- 0
mod/openid.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'library/openid.php'
);
+ 1
- 0
mod/opensearch.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
opensearch_content
(
App
$a
)
{
+ 1
- 0
mod/ostatus_subscribe.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/probe.php'
;
require_once
'include/follow.php'
;
+ 1
- 0
mod/p.php
View File
@ -4,6 +4,7 @@ This file is part of the Diaspora protocol. It is used for fetching single publi
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/diaspora.php
"
);
+ 1
- 0
mod/photos.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Core\Config
;
use
Friendica\Network\Probe
;
+ 1
- 0
mod/ping.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/datetime.php'
);
require_once
(
'include/bbcode.php'
);
+ 1
- 0
mod/poke.php
View File
@ -15,6 +15,7 @@
*/
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/security.php'
);
require_once
(
'include/bbcode.php'
);
+ 1
- 0
mod/profile.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/contact_widgets.php'
);
require_once
(
'include/redir.php'
);
+ 1
- 0
mod/profile_photo.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
"
include/Photo.php
"
);
+ 1
- 0
mod/profiles.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
use
Friendica\Network\Probe
;
require_once
'include/Contact.php'
;
+ 1
- 0
mod/proxy.php
View File
@ -2,6 +2,7 @@
// Based upon "Privacy Image Cache" by Tobias Hößl <https://github.com/CatoTH/>
use
Friendica\App
;
use
Friendica\Core\System
;
define
(
'PROXY_DEFAULT_TIME'
,
86400
);
// 1 Day
+ 1
- 0
mod/randprof.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
randprof_init
(
App
$a
)
{
require_once
(
'include/Contact.php'
);
+ 1
- 0
mod/redir.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
redir_init
(
App
$a
)
{
+ 1
- 0
mod/register.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/enotify.php'
);
require_once
(
'include/bbcode.php'
);
+ 1
- 0
mod/regmod.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/enotify.php'
);
require_once
(
'include/user.php'
);
+ 1
- 0
mod/removeme.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
removeme_post
(
App
$a
)
{
+ 1
- 0
mod/repair_ostatus.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
'include/probe.php'
;
require_once
'include/follow.php'
;
+ 2
- 1
mod/rsd_xml.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
rsd_xml_content
(
App
$a
)
{
@ -22,4 +23,4 @@ function rsd_xml_content(App $a)
</
rsd
>
'
;
killme
();
}
}
+ 1
- 0
mod/settings.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
require_once
(
'include/group.php'
);
require_once
(
'include/socgraph.php'
);
+ 1
- 0
mod/starred.php
View File
@ -1,6 +1,7 @@
<
?
php
use
Friendica\App
;
use
Friendica\Core\System
;
function
starred_init
(
App
$a
)
{
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save