upgrade with bootstrap 5.2
This commit is contained in:
+5
-6
@@ -3,18 +3,18 @@
|
||||
/*******************************************************************
|
||||
|
||||
Module : /Web/Auth.php
|
||||
Desc. : v3 - Fungsi login dan user checking
|
||||
Desc. : v4 - Fungsi login dan user checking
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : March 16th, 2008.
|
||||
Last Modified : May 8th, 2021.
|
||||
Last Modified : April 3rd, 2022.
|
||||
|
||||
(c) 2008 - 2021, 3FONIA Software; WWW.3FONIA.COM.
|
||||
(c) 2008 - 2022, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
*******************************************************************/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace siaupheng\fonia3\Web;
|
||||
namespace siaupheng\fonia4\Web;
|
||||
|
||||
final class Auth {
|
||||
private $__id_reg = 0;
|
||||
@@ -22,8 +22,7 @@ final class Auth {
|
||||
|
||||
public function __construct($db = null){
|
||||
if (is_resource($db)) { $this->__db = $db; }
|
||||
else $this->__db = new \siaupheng\fonia3\DB\MySQL();
|
||||
|
||||
else { $this->__db = new \siaupheng\fonia4\DB\MySQL(); }
|
||||
$this->__id_reg = $_SESSION['__WEB_APP']['REG_ID'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user