gnu-social/vendor/zetacomponents/base/tests/check_tarball.php

15 lines
610 B
PHP
Raw Normal View History

2020-08-07 23:42:38 +01:00
<?php
// modify when needed
require '/tmp/ezcomponents-2009.1alpha1/Base/src/ezc_bootstrap.php';
$md = new ezcBaseMetaData();
echo $md->getComponentVersion( 'Base' ), "\n";
echo $md->getComponentVersion( 'Archive' ), "\n";
echo $md->getComponentVersion( 'Blah' ), "\n";
echo $md->getComponentVersion( 'Configuration' ), "\n";
echo $md->isComponentInstalled( 'Base' ) ? "true" : "false", "\n";
echo $md->isComponentInstalled( 'Archive' ) ? "true" : "false", "\n";
echo $md->isComponentInstalled( 'Blah' ) ? "true" : "false", "\n";
echo $md->isComponentInstalled( 'Configuration' ) ? "true" : "false", "\n";
?>