Changeset 1033

Show
Ignore:
Timestamp:
05/01/08 09:31:43 (7 months ago)
Author:
_ck_
Message:

externalizing debug functions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-attachments/trunk/bb-attachments.php

    r1032 r1033  
    6262global $bbdb, $bb_attachments; 
    6363 
    64 if (isset($_GET['bb_attachments_diagnostic']) && bb_current_user_can('administrate')) {echo "<pre>"; print_r($bb_attachments); echo "</pre>"; exit();} 
     64if (isset($_GET['bb_attachments_diagnostic']) || isset($_GET['bb_attachments_debug'])) {include('debug.php');} 
    6565 
    6666if (isset($_GET['bbat_delete'])) {bb_attachments_delete();}