From 0570c16e6ceb42d6b3afa93c1054e024091a3e08 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 7 Mar 2009 11:56:01 -0800 Subject: [PATCH] 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 8b0b9acd50..d9f30bec58 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 0000000000..e69de29bb2 -- 2.39.5