Ignore:
Timestamp:
2006-09-19T02:32:27+02:00 (8 years ago)
Author:
moo
Message:

Coverager: better error displaying

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coverager/coverager.php

    r184 r185  
    125125        } 
    126126        else if (!$this->datadir) { 
    127             $action = 'require xcache.coveragedump_directory'; 
     127            $action = 'error'; 
     128            $error  = 'require `ini:xcache.coveragedump_directory` or `config:$datadir` to be set'; 
    128129        } 
    129130        else { 
    130             $action = "no data"; 
     131            $action = 'error'; 
     132            $error  = "no data"; 
    131133        } 
    132134 
Note: See TracChangeset for help on using the changeset viewer.