diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-05-29 10:58:11 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-05-29 10:58:11 +0200 |
commit | cac6cef4952e6535788c1c6db8ef1e58e88536a0 (patch) | |
tree | 574d653201c280cb082877f80d814b6899aacaf9 /vendor/bin/vobject | |
parent | aab9766c53e42c3141d0497fce78977d262efbc1 (diff) | |
download | volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.tar.gz volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.tar.bz2 volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.zip |
use composer to install sabre32
Diffstat (limited to 'vendor/bin/vobject')
l---------[-rwxr-xr-x] | vendor/bin/vobject | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/vendor/bin/vobject b/vendor/bin/vobject index 2aca7e729..f5b111eac 100755..120000 --- a/vendor/bin/vobject +++ b/vendor/bin/vobject @@ -1,27 +1 @@ -#!/usr/bin/env php -<?php - -namespace Sabre\VObject; - -// This sucks.. we have to try to find the composer autoloader. But chances -// are, we can't find it this way. So we'll do our bestest -$paths = [ - __DIR__ . '/../vendor/autoload.php', // In case vobject is cloned directly - __DIR__ . '/../../../autoload.php', // In case vobject is a composer dependency. -]; - -foreach($paths as $path) { - if (file_exists($path)) { - include $path; - break; - } -} - -if (!class_exists('Sabre\\VObject\\Version')) { - fwrite(STDERR, "Composer autoloader could not be loaded.\n"); - die(1); -} - -$cli = new Cli(); -exit($cli->main($argv)); - +../sabre/vobject/bin/vobject
\ No newline at end of file |