version.php 194 B

1234567
  1. <?php
  2. $pathArray = explode("/", realpath(__FILE__));
  3. array_pop($pathArray);
  4. array_pop($pathArray);
  5. $versionFolder = array_pop($pathArray);
  6. echo json_encode(array("release" => $versionFolder));