Changeset 185 in svn for trunk/coverager/coverager.php


Ignore:
Timestamp:
2006-09-19T00:32:27Z (9 years ago)
Author:
Xuefer
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.