Added script to create QGIS data table

This commit is contained in:
Frank Schubert
2022-08-09 17:10:50 +02:00
parent 6eab665c45
commit 882896dc5d
4 changed files with 179 additions and 2 deletions

View File

@@ -29,6 +29,10 @@ class User extends mfBaseModel {
return true;
}
if(!isset($_SESSION) || !is_array($_SESSION) || !array_key_exists(MFAPPNAME.'_username', $_SESSION)) {
return false;
}
$username = $_SESSION[MFAPPNAME.'_username'];
$res = $this->db->select($this->table,"*","username='$username' LIMIT 1");
if($this->db->num_rows($res)) {