[LIB_REFACTOR] Moving files into separate semantic categories
This commit is contained in:
parent
5e16606358
commit
2ab2e22a36
@ -32,8 +32,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/profilelist.php';
|
||||
require_once INSTALLDIR.'/lib/publicgroupnav.php';
|
||||
require_once INSTALLDIR . '/lib/profilelist.php';
|
||||
require_once INSTALLDIR . '/lib/publicgroupnav.php';
|
||||
|
||||
/**
|
||||
* List of featured users
|
||||
|
@ -31,8 +31,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once(INSTALLDIR.'/lib/profilelist.php');
|
||||
require_once INSTALLDIR.'/lib/publicgroupnav.php';
|
||||
require_once(INSTALLDIR . '/lib/profilelist.php');
|
||||
require_once INSTALLDIR . '/lib/publicgroupnav.php';
|
||||
|
||||
/**
|
||||
* List of group members
|
||||
|
@ -32,7 +32,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/grouplist.php';
|
||||
require_once INSTALLDIR . '/lib/grouplist.php';
|
||||
|
||||
/**
|
||||
* Latest groups
|
||||
|
@ -33,7 +33,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/searchaction.php';
|
||||
require_once INSTALLDIR . '/lib/searchaction.php';
|
||||
|
||||
/**
|
||||
* Notice search action class.
|
||||
|
@ -33,7 +33,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/mail.php';
|
||||
require_once INSTALLDIR . '/lib/mail.php';
|
||||
|
||||
/**
|
||||
* Nudge a user action class.
|
||||
|
@ -32,8 +32,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/searchaction.php';
|
||||
require_once INSTALLDIR.'/lib/profilelist.php';
|
||||
require_once INSTALLDIR . '/lib/searchaction.php';
|
||||
require_once INSTALLDIR . '/lib/profilelist.php';
|
||||
|
||||
/**
|
||||
* People search action class.
|
||||
|
@ -35,7 +35,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/peopletaglist.php';
|
||||
require_once INSTALLDIR . '/lib/peopletaglist.php';
|
||||
// cache 3 pages
|
||||
define('PEOPLETAG_CACHE_WINDOW', PEOPLETAGS_PER_PAGE*3 + 1);
|
||||
|
||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once(INSTALLDIR.'/lib/profilelist.php');
|
||||
require_once(INSTALLDIR . '/lib/profilelist.php');
|
||||
|
||||
/**
|
||||
* List of people tagged by the user with a tag
|
||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/peopletaglist.php';
|
||||
require_once INSTALLDIR . '/lib/peopletaglist.php';
|
||||
|
||||
class PeopletagsbyuserAction extends Action
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/peopletaglist.php';
|
||||
require_once INSTALLDIR . '/lib/peopletaglist.php';
|
||||
|
||||
class PeopletagsforuserAction extends Action
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once(INSTALLDIR.'/lib/profilelist.php');
|
||||
require_once(INSTALLDIR . '/lib/profilelist.php');
|
||||
|
||||
/**
|
||||
* List of peopletag subscribers
|
||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/peopletaglist.php';
|
||||
require_once INSTALLDIR . '/lib/peopletaglist.php';
|
||||
|
||||
class PeopletagsubscriptionsAction extends Action
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ if (!defined('GNUSOCIAL')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/noticelist.php';
|
||||
require_once INSTALLDIR . '/lib/noticelist.php';
|
||||
|
||||
/**
|
||||
* Show a single notice
|
||||
|
@ -32,7 +32,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/grouplist.php';
|
||||
require_once INSTALLDIR . '/lib/grouplist.php';
|
||||
|
||||
/**
|
||||
* User groups page
|
||||
|
@ -573,7 +573,7 @@ class Memcached_DataObject extends Safe_DataObject
|
||||
|
||||
function getSearchEngine($table)
|
||||
{
|
||||
require_once INSTALLDIR.'/lib/search_engines.php';
|
||||
require_once INSTALLDIR . '/lib/search_engines.php';
|
||||
|
||||
if (Event::handle('GetSearchEngine', array($this, $table, &$search_engine))) {
|
||||
if ('mysql' === common_config('db', 'type')) {
|
||||
|
@ -1890,7 +1890,7 @@ class Notice extends Managed_DataObject
|
||||
|
||||
$recipientIds = $this->getReplies();
|
||||
if (Event::handle('StartNotifyMentioned', array($this, &$recipientIds))) {
|
||||
require_once INSTALLDIR.'/lib/mail.php';
|
||||
require_once INSTALLDIR . '/lib/mail.php';
|
||||
|
||||
foreach ($recipientIds as $recipientId) {
|
||||
try {
|
||||
|
@ -359,7 +359,7 @@ class UserActivityStream extends AtomUserNoticeFeed
|
||||
|
||||
function writeJSON($handle)
|
||||
{
|
||||
require_once INSTALLDIR.'/lib/activitystreamjsondocument.php';
|
||||
require_once INSTALLDIR . '/lib/activitystreamjsondocument.php';
|
||||
fwrite($handle, '{"items": [');
|
||||
$this->renderEntries(Feed::JSON, $handle);
|
||||
fwrite($handle, ']}');
|
0
lib/cache.php → lib/cache/cache.php
vendored
0
lib/cache.php → lib/cache/cache.php
vendored
@ -32,7 +32,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/servererroraction.php';
|
||||
require_once INSTALLDIR . '/lib/servererroraction.php';
|
||||
|
||||
/**
|
||||
* Class for displaying DB Errors
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user