Changeset 178 for trunk/lib/ACL.inc.php


Ignore:
Timestamp:
Jun 22, 2006 9:27:31 PM (18 years ago)
Author:
scdev
Message:

Q - update FormValidator? so err() prints a different class type depending on error type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ACL.inc.php

    r177 r178  
    529529       
    530530        $db->query("REPLACE INTO acl_tbl VALUES ('$aro_id', '$aco_id', '$axo_id', '$allow', NOW())");
     531        $app->logMsg(sprintf('Set %s: %s -> %s -> %s.', $allow, $aro, $aco, $axo), LOG_DEBUG, __FILE__, __LINE__);
    531532       
    532533        return true;
     
    582583        if (substr_count($final_where, 'IS NOT NULL') == 3) {
    583584            // Null on all three tables will delete ALL entries including the root -> root -> root = deny.
    584             $app->logMsg(sprintf('Cannot allow deletion of all acl entries.', null), LOG_NOTICE, __FILE__, __LINE__);
     585            $app->logMsg(sprintf('Cannot allow deletion of ALL acl entries.', null), LOG_NOTICE, __FILE__, __LINE__);
    585586            return false;
    586587        }
Note: See TracChangeset for help on using the changeset viewer.