From 0570c16e6ceb42d6b3afa93c1054e024091a3e08 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 7 Mar 2009 11:56:01 -0800 Subject: 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. --- classes/User.php | 3 ++- local/.gitignore | 0 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 local/.gitignore 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 -- cgit v1.2.3-54-g00ecf