$user = mysqli_fetch_assoc(
mysqli_query($this -> db -> connect(),
"SELECT `password` FROM `users` WHERE `login` = '$login' LIMIT 1;"
)
);
'use strict';
export default {
guest : [
'/', '/login', '/sign-up'
],
authorized : [
'/home'
]
};
protected function purify(string $string) : string {
return trim(htmlspecialchars(addslashes($string)));
}