X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=UpdateDatabase.php;h=6973f56400cf7effa073fceb1854704cf4c5ab43;hp=f7ac303324c54822ec48ebd745d8815e366e3a5f;hb=HEAD;hpb=b4073c824a9518a696f71b390ffd1b2dce83f8c6 diff --git a/UpdateDatabase.php b/UpdateDatabase.php index f7ac3033..6973f564 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -154,15 +154,14 @@ class Pman_Core_UpdateDatabase extends Pman 'active' => 1, 'description' => '9.1 Management System Password Reset', 'template_dir' => '/Pman/Core/templates/mail/' - - + ) ); var $required_extensions = array( 'curl', 'gd', - 'mstring' + 'mbstring' ); function getAuth() { @@ -177,7 +176,7 @@ class Pman_Core_UpdateDatabase extends Pman parent::getAuth(); // load company! $au = $this->getAuthUser(); if (!$au || $au->company()->comptype != 'OWNER') { - $this->jerr("Not authenticated", array('authFailure' => true)); + $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true)); } $this->authUser = $au; return true;