Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 42e6f05f69
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (13 sloc) 0.569 kB
<?php
# let people know if they are running an unsupported version of PHP
if(phpversion() < 5) {
die('<h3>Stacey requires PHP/5.0 or higher.<br>You are currently running PHP/'.phpversion().'.</h3><p>You should contact your host to see if they can upgrade your version of PHP.</p>');
} else {
# require helpers class so we can use rglob
require_once './app/helpers.inc.php';
# include any php files which sit in the app folder
foreach(Helpers::rglob('./app/**.inc.php') as $include) include_once $include;
# start the app
new Stacey($_GET);
}
?>
Jump to Line
Something went wrong with that request. Please try again.