Commit b10800ae authored by Bate's avatar Bate

Les non connectes n'ont pas droit que de lire les fichiers, FUCK YOU FAUTE DE FRAPPE

parent 540df5df
......@@ -106,7 +106,6 @@ abstract class basedb extends stdentity
if(!$user->is_valid()) {
echo "Droits: $required vs ".($required & $this->droits_acces)." vs $this->droits_acces";
if($required == DROIT_LECTURE && (($required & $this->droits_acces) == $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