]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add local directory for plugins, themes, etc.
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 19:56:01 +0000 (11:56 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 19:56:01 +0000 (11:56 -0800)
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
local/.gitignore [new file with mode: 0644]

index 8b0b9acd506f3fb07ea7b0dfa43f355c1609ab93..d9f30bec58cf18181a0e78347b2b1b1b2209a5a7 100644 (file)
@@ -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 (file)
index 0000000..e69de29