Skip to content

Commit

Permalink
Migrate away from cloudcontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjoelkemp committed Feb 22, 2016
1 parent 2b952bc commit 6820a4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/phpepl.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ if (code) {
sidebar.shareCode(code);

if (!utils.onPHP5Version() && utils.isLiveEnv()) {
// Cloudcontrol has shut down
window.location = 'http://phpepl.herokuapp.com';
$('.link-to-heroku').fadeIn('fast');
}

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@
<script src='js/vendor/ace/ext-language_tools.js?541ef4db9ed6eff7'></script>
<script src='js/vendor/ace/snippets/php.js?846bbe7ad7c1d6f6'></script>

<script src='dist/phpepl.js?c11e19b19c5457fb'></script>
<script src='dist/phpepl.js?7b7ddf4a7ce695ed'></script>
</html>
2 changes: 2 additions & 0 deletions js/phpepl.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ if (code) {
sidebar.shareCode(code);

if (!utils.onPHP5Version() && utils.isLiveEnv()) {
// Cloudcontrol has shut down
window.location = 'http://phpepl.herokuapp.com';
$('.link-to-heroku').fadeIn('fast');
}

Expand Down

0 comments on commit 6820a4a

Please sign in to comment.