Commit 1a9574d6 authored by Bate's avatar Bate

Les non connectes n'ont pas droit que de lire les fichiers

parent 6e1154c0
......@@ -106,7 +106,7 @@ abstract class basedb extends stdentity
if(!$user->is_valid()) {
echo "Droits: $required vs ".($required & $this->droits_access);
echo "Droits: $required vs ".($required & $this->droits_access)." vs $this->droits_access";
if($required == DROIT_LECTURE && (($required & $this->droits_access) == $required))
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment