This commit is contained in:
Paminger
2016-04-07 15:17:26 +02:00
parent c124348484
commit bcfae6b009
14 changed files with 57 additions and 39 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
* @filesource
*/
defined('BASEPATH') OR exit('No direct script access allowed');
require_once 'include/authentication.class.php';
require_once FCPATH.'include/authentication.class.php';
/**
* FHC-Auth Helpers
@@ -39,12 +39,12 @@ class FHC_Auth
$auth = new authentication();
if ($auth->checkpassword($username, $password))
{
echo 'Auth-Method-True';
//echo 'Auth-Method-True';
return true;
}
else
{
echo 'Auth-Method-False';
//echo 'Auth-Method-False';
return false;
}
}