No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
17
ControlPanel/modules/ftp/plugins/luminous/luminous.php
Normal file
17
ControlPanel/modules/ftp/plugins/luminous/luminous.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* If we're running in a web environment, this is simply an include
|
||||
* file which includes everything necessary to use Luminous.
|
||||
*
|
||||
* If we're running in CLI-mode then this handles the CLI interface.
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/src/luminous.php');
|
||||
|
||||
if (PHP_SAPI === 'cli') {
|
||||
// cli mode
|
||||
if (isset($argv[0]) && $argv[0] === basename(__FILE__))
|
||||
require(dirname(__FILE__) . '/src/cli.php');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue