diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 11:56:01 -0800 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 11:56:01 -0800 |
commit | 0570c16e6ceb42d6b3afa93c1054e024091a3e08 (patch) | |
tree | 1791fc0b40802055bb51f66e43ccd2703a4061eb | |
parent | 1980f166a78954b15ed53e1421164452ec692497 (diff) |
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.
-rw-r--r-- | classes/User.php | 3 | ||||
-rw-r--r-- | local/.gitignore | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index 8b0b9acd5..d9f30bec5 100644 --- a/classes/User.php +++ b/classes/User.php @@ -121,7 +121,8 @@ class User extends Memcached_DataObject static $blacklist = array('rss', 'xrds', 'doc', 'main', 'settings', 'notice', 'user', 'search', 'avatar', 'tag', 'tags', - 'api', 'message', 'group', 'groups'); + 'api', 'message', 'group', 'groups', + 'local'); $merged = array_merge($blacklist, common_config('nickname', 'blacklist')); return !in_array($nickname, $merged); } diff --git a/local/.gitignore b/local/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/local/.gitignore |