Update register action to match phpcs and new framework

This commit is contained in:
Evan Prodromou
2009-01-18 13:37:58 +00:00
parent b4b686c118
commit 4163f45004
2 changed files with 290 additions and 82 deletions

View File

@@ -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') {