summaryrefslogtreecommitdiff
path: root/classes/handler/protected.php
blob: a15fc0956cfd8aa7a0d665e9b04f93dd0c63a164 (plain)
1
2
3
4
5
6
7
<?php
class Handler_Protected extends Handler {

	function before(string $method): bool {
		return parent::before($method) && !empty($_SESSION['uid']);
	}
}