Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1821545
vobject
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
651 B
Subscribers
None
vobject
View Options
#!/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
=
array
(
__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
));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 2:51 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
708288
Default Alt Text
vobject (651 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment