İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php function isAdmin($u = null) {
|
||||
if(is_null($u)) {
|
||||
$u = u();
|
||||
}
|
||||
if($u->level=="Admin") {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} ?>
|
||||
Reference in New Issue
Block a user