Add local directory for plugins, themes, etc.
Added a local directory for locally-installed software. This is where you should put any code you write, themes, plugins, etc. so they don't get stomped by upgrades.
This commit is contained in:
parent
1980f166a7
commit
0570c16e6c
@ -121,7 +121,8 @@ class User extends Memcached_DataObject
|
|||||||
static $blacklist = array('rss', 'xrds', 'doc', 'main',
|
static $blacklist = array('rss', 'xrds', 'doc', 'main',
|
||||||
'settings', 'notice', 'user',
|
'settings', 'notice', 'user',
|
||||||
'search', 'avatar', 'tag', 'tags',
|
'search', 'avatar', 'tag', 'tags',
|
||||||
'api', 'message', 'group', 'groups');
|
'api', 'message', 'group', 'groups',
|
||||||
|
'local');
|
||||||
$merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
|
$merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
|
||||||
return !in_array($nickname, $merged);
|
return !in_array($nickname, $merged);
|
||||||
}
|
}
|
||||||
|
0
local/.gitignore
vendored
Normal file
0
local/.gitignore
vendored
Normal file
Loading…
Reference in New Issue
Block a user