Skip to content

Instantly share code, notes, and snippets.

@stigi
Created November 17, 2010 09:32
Show Gist options
  • Save stigi/703193 to your computer and use it in GitHub Desktop.
Save stigi/703193 to your computer and use it in GitHub Desktop.
diff --git a/server/php/public/index.php b/server/php/public/index.php
index fb68451..b11ecfa 100644
--- a/server/php/public/index.php
+++ b/server/php/public/index.php
@@ -137,7 +137,7 @@
<p><b>Version:</b> <?php echo $app[iOSUpdater::INDEX_VERSION] ?></p>
<p><b>Released:</b> <?php echo date('m/d/Y H:i:s', $app[iOSUpdater::INDEX_DATE]) ?></p>
<?php if ($app[iOSUpdater::INDEX_PROFILE]) { ?>
- <a class="button" href="<?php echo $app[iOSUpdater::INDEX_PROFILE] ?>">Install Profile</a>
+ <a class="button" href="<?php echo $baseURL . 'index.php?type=' . iOSUpdater::TYPE_PROFILE . '&bundleidentifier=' . $app[iOSUpdater::INDEX_DIR] ?>">Install Profile</a>
<?php } ?>
<a class="button" href="itms-services://?action=download-manifest&amp;url=<?php echo urlencode($baseURL . 'index.php?type=' . iOSUpdater::TYPE_APP . '&bundleidentifier=' . $app[iOSUpdater::INDEX_DIR]) ?>">Install Application</a>
<?php if ($app[iOSUpdater::INDEX_NOTES]) : ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment