require once for settings actions

darcs-hash:20080517175416-84dde-b83a41de70a48671e0a251c645cf67b81c54bda6.gz
This commit is contained in:
Evan Prodromou 2008-05-17 13:54:16 -04:00
parent 6e0cfd908b
commit 07eb05157a
5 changed files with 8 additions and 1 deletions

View File

@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class AvatarAction extends SettingsAction {
function show_form($msg=NULL, $success=false) {

View File

@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class PasswordAction extends SettingsAction {
function show_form($msg=NULL, $success=false) {

View File

@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/settingsaction.php');
class ProfilesettingsAction extends SettingsAction {
function show_form($msg=NULL, $success=false) {

View File

@ -52,7 +52,7 @@ class RegisterAction extends Action {
$this->show_form(_t('Passwords don\'t match.'));
} else if ($this->register_user($nickname, $password, $email)) {
common_set_user($nickname);
common_redirect(common_local_url('settings'));
common_redirect(common_local_url('profilesettings'));
} else {
$this->show_form(_t('Invalid username or password.'));
}

View File

@ -49,6 +49,7 @@
- site logo
- theme per site
- theme per profile
- email confirmation for registration
- release 0.2
- content negotiation for interface language
- content negotiation for content type