summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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') {