Add new "Setup" routine for database bootstrapping (closes #6, closes), fixed redirect (closes #79), removed registration mail (closes #80), some minor bugfixes

This commit is contained in:
Exodus4D
2015-12-26 23:28:50 +01:00
parent 04087561da
commit e2cf68fb0f
151 changed files with 5100 additions and 696 deletions

View File

@@ -27,21 +27,6 @@ class MailController extends \SMTP{
$this->set('Content-Type', 'text/html; charset=ISO-8859-1');
}
/**
* send registration mail
* @param $to
* @param $msg
* @return bool
*/
public function sendRegistration($to, $msg){
$this->set('To', '<' . $to . '>');
$this->set('From', 'Pathfinder <' . Controller::getEnvironmentData('SMTP_FROM') . '>');
$this->set('Subject', 'Account information');
$status = $this->send($msg);
return $status;
}
/**
* send invite key mail
* @param $to