summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-18 13:37:58 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-18 13:37:58 +0000
commit4163f450040d92f417a2481e65cada97f77d74f2 (patch)
tree535d8b5fe49c935c1211849de9c1f3664359a987 /lib
parentb4b686c1185c8b5c923f584b097371b21fa5198f (diff)
Update register action to match phpcs and new framework
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 05fef045a..1068d4c13 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -163,6 +163,10 @@ require_once(INSTALLDIR.'/lib/subs.php');
require_once(INSTALLDIR.'/lib/Shorturl_api.php');
require_once(INSTALLDIR.'/lib/twitter.php');
+// XXX: other formats here
+
+define('NICKNAME_FMT', VALIDATE_NUM.VALIDATE_ALPHA_LOWER);
+
function __autoload($class)
{
if ($class == 'OAuthRequest') {