if (!defined('LACONICA')) { exit(1); }
-require_once($INSTALLDIR.'/lib/mail.php');
+require_once(INSTALLDIR.'/lib/mail.php');
class FavorAction extends Action {
function common_favor_form($notice) {
common_element_start('form', array('id' => 'favor-' . $notice->id,
'method' => 'post',
- 'action' => common_local_url('disfavor')));
+ 'action' => common_local_url('favor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
common_submit('favor-submit-' . $notice->id, '♡');