Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/html/system/core/Kohana.php on line 136 db->query("select * from www_2_loginy_i_emaile(null,'".pg_escape_string($email)."') a (idx_osoby integer, e_mail varchar, login varchar)")->as_array(); return $result; } function findEmail($login) { // MHA: security confirmed $result = $this->db->query("select * from www_2_loginy_i_emaile('".pg_escape_string($login)."',null) a (idx_osoby integer, e_mail varchar, login varchar)")->as_array(); return $result; } function setPassword($idUser, $password) { $codedPassword = sha1($password); // MHA: secyrity confirmed $result = $this->db->query("select ps_login ((select identyfikator from identif where idx_identif = 1), (select haslo from identif where idx_identif = 1))"); $result = $this->db->query("select * from pw_login_setpass(".pg_escape_string($idUser).", '$codedPassword')"); $result = $this->db->query("select ps_logout();"); return $result; } function changePassword($sOldPassword, $sNewPassword) { $sOldPassword = sha1($sOldPassword); $sNewPassword = sha1($sNewPassword); // MHA: security confirmed $result = $this->db->query("select * from www_change_password('" . session_id() . "', '" . $sOldPassword . "', '" . $sNewPassword . "')")->as_array(); return $result; } function save($postaddr, $phone, $cellphone, $email) { // MHA: security confirmed $this->checkNumeric($this->data['idx_osoby']); return $this->db->query("update public.ewidencja set " ."adr_kor_ulica='".pg_escape_string(mb_strtoupper($postaddr->street))."', " ."adr_kor_nr_domu='".pg_escape_string($postaddr->house)."', " ."adr_kor_nr_mieszkania='".pg_escape_string($postaddr->flat)."', " ."adr_kor_kod='".pg_escape_string($postaddr->zip)."', " ."adr_kor_miasto='".pg_escape_string(mb_strtoupper($postaddr->city))."', " ."telefon='".pg_escape_string($phone)."', " ."telefon_komorkowy='".pg_escape_string($cellphone)."', " ."e_mail='".pg_escape_string($email)."' " ."where idx_osoby=".pg_escape_string($this->data['idx_osoby'])); } } ?> Fatal error: Class 'User_Model' not found in /var/www/html/application/libraries/Auth.php on line 20