We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 07eb0515 authored by Evan Prodromou's avatar Evan Prodromou

require once for settings actions

darcs-hash:20080517175416-84dde-b83a41de70a48671e0a251c645cf67b81c54bda6.gz
parent 6e0cfd90
......@@ -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) {
......
......@@ -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) {
......
......@@ -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) {
......
......@@ -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.'));
}
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment