check_tarball.php 610 B

123456789101112131415
  1. <?php
  2. // modify when needed
  3. require '/tmp/ezcomponents-2009.1alpha1/Base/src/ezc_bootstrap.php';
  4. $md = new ezcBaseMetaData();
  5. echo $md->getComponentVersion( 'Base' ), "\n";
  6. echo $md->getComponentVersion( 'Archive' ), "\n";
  7. echo $md->getComponentVersion( 'Blah' ), "\n";
  8. echo $md->getComponentVersion( 'Configuration' ), "\n";
  9. echo $md->isComponentInstalled( 'Base' ) ? "true" : "false", "\n";
  10. echo $md->isComponentInstalled( 'Archive' ) ? "true" : "false", "\n";
  11. echo $md->isComponentInstalled( 'Blah' ) ? "true" : "false", "\n";
  12. echo $md->isComponentInstalled( 'Configuration' ) ? "true" : "false", "\n";
  13. ?>