default services conflit ?
This commit is contained in:
21
old.vendor/fileeye/mimemap/bin/fileeye-mimemap
Executable file
21
old.vendor/fileeye/mimemap/bin/fileeye-mimemap
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* A Symfony CLI utility application for MimeMap.
|
||||
*/
|
||||
|
||||
use FileEye\MimeMap\Command\UpdateCommand;
|
||||
use FileEye\MimeMap\Version;
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
$packageAutoloader = __DIR__ . '/../vendor/autoload.php';
|
||||
$standaloneAutoloader = __DIR__ . '/../../../autoload.php';
|
||||
if (file_exists($packageAutoloader)) {
|
||||
require_once $packageAutoloader;
|
||||
} else {
|
||||
require_once $standaloneAutoloader;
|
||||
}
|
||||
|
||||
$application = new Application('fileeye-mimemap', Version::get());
|
||||
$application->add(new UpdateCommand());
|
||||
$application->run();
|
Reference in New Issue
Block a user