Skip to content

Commit 3a2ad1c

Browse files
committed
Improved messages
1 parent 9eedacc commit 3a2ad1c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

public/index.cgi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ X-Powered-By: /bin/bash
2626
2727
<html>
2828
<head>
29-
<title>PHP Stack</title>
29+
<title>PHP Stack for Openshift</title>
3030
</head>
3131
<body>
32-
<p>You have created a PHP Stack Openshift application</p><br />
32+
<h1>PHP Stack for Openshift</h1>
3333
<p>"
3434

3535
if [[ -x ${OPENSHIFT_RUNTIME_DIR}/bin/php-cgi ]]; then
36-
echo "Start coding or check <a href=\"?phpinfo\">phpinfo</a>. <b>Remember to remove or update index.cgi in the /public folder</b>"
36+
echo "<p>The PHP build is finished.</p>"
37+
echo "<p>Check <a href=\"?phpinfo\">phpinfo</a> or start coding (remember to remove/update index.cgi in the /public folder)</p>"
3738
elif [[ -f /tmp/makephp ]]; then
38-
echo "<p>Building PHP</p>"
39-
echo "<p>This page will refresh automatically, you can close it and come back later...</p>"
39+
echo "<p>Building PHP... This page will refresh automatically, you can close it and come back later!</p>"
4040
echo "<p>If necessary, <a href=https://github.com/JVerstry/openshift-php-framework-stack/issues >submit an issue</a>.</p>"
4141
echo "<pre style='font-size:.7em;word-break:break-all;font-family:Courier'>"
4242
tail /tmp/makephp
4343
echo "</pre>"
4444
echo "<script>setTimeout(function(){window.location.reload(true)},8000)</script>"
4545
else
46-
echo "<p>Follow the instructions available at <a href=https://github.com/JVerstry/openshift-php-framework-stack>https://github.com/JVerstry/openshift-php-framework-stack</a>."
46+
echo "<p>The configured PHP version is 5.6.11. Follow the <a href=https://github.com/JVerstry/openshift-php-framework-stack>instructions</a> to change it."
4747
echo "<p><a href=?doitnow>Click here to start the PHP build</a><p>"
4848
fi
4949

0 commit comments

Comments
 (0)