Ignore:
Timestamp:
Aug 27, 2015 4:32:41 AM (9 years ago)
Author:
anonymous
Message:

Required object to test for cli

File:
1 edited

Legend:

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

    r547 r548  
    174174    public function setParam(array $params=null)
    175175    {
     176        $app =& App::getInstance();
     177
    176178        // CLI scripts can't use prefs stored in HTTP-based protocols.
    177179        if ($app->cli
Note: See TracChangeset for help on using the changeset viewer.