Changeset 665 for trunk/lib/App.inc.php


Ignore:
Timestamp:
Feb 10, 2019 9:48:46 PM (5 years ago)
Author:
anonymous
Message:

Add $app->isCLI() to replace $app->cli

File:
1 edited

Legend:

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

    r661 r665  
    594594    }
    595595
     596    /*
     597    * @access   public
     598    * @return   bool    True if running in the context of a CLI script.
     599    * @author   Quinn Comendant <quinn@strangecode.com>
     600    * @since    10 Feb 2019 12:31:59
     601    */
     602    public function isCLI()
     603    {
     604        return $this->cli;
     605    }
    596606
    597607    /**
Note: See TracChangeset for help on using the changeset viewer.