new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php namespace ZN;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
class Command extends Base
|
||||
{
|
||||
/**
|
||||
* Magic constructor
|
||||
*
|
||||
* @param void
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
# If the operation is executed via console, the code flow is not continue.
|
||||
if( ! defined('CONSOLE_ENABLED') )
|
||||
{
|
||||
throw new Exception('Commands', 'canNotCommandClass'); // @codeCoverageIgnore
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user