mirror of
https://github.com/pierre42100/comunic
synced 2025-09-20 06:19:09 +00:00
First commit
This commit is contained in:
17
3rdparty/luminous/luminous.php
vendored
Executable file
17
3rdparty/luminous/luminous.php
vendored
Executable 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');
|
||||
}
|
Reference in New Issue
Block a user