-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rafageist
committed
Jul 4, 2019
1 parent
b10f793
commit 26779ef
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,11 @@ | |
* http://www.gnu.org/licenses/gpl.txt. | ||
* | ||
* @author Rafa Rodriguez [@rafageist] <[email protected]> | ||
* @version 1.4 | ||
* @link https://github.com/divengine/div-ways.git | ||
* @version 2.0.0 | ||
* @link https://divengine.com | ||
* @link https://divengine.com/ways | ||
* @link https://github.com/divengine/ways.git | ||
* @link https://github.com/divengine/ways/wiki | ||
*/ | ||
|
||
// Constants | ||
|
@@ -1360,7 +1363,7 @@ static function hook($moment, $controller, $call) | |
* | ||
* @return mixed | ||
*/ | ||
final static function cop(&$source, $complement, $level = 0) | ||
final public static function cop(&$source, $complement, $level = 0) | ||
{ | ||
$null = null; | ||
|
||
|
@@ -1476,11 +1479,11 @@ static function redirect($way) | |
} | ||
|
||
/** | ||
* Return true if the script was executed in the CLI enviroment | ||
* Return true if the script was executed in the CLI environment | ||
* | ||
* @return boolean | ||
*/ | ||
final static function isCli() | ||
final public static function isCli() | ||
{ | ||
if (self::$__is_cli === null) { | ||
self::$__is_cli = (!isset ($_SERVER ['SERVER_SOFTWARE']) && (php_sapi_name() == 'cli' || (is_numeric($_SERVER ['argc']) && $_SERVER ['argc'] > 0))); | ||
|