Skip to content

Commit

Permalink
Update version, 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BafS committed Jul 10, 2016
1 parent 738b26c commit 3aae39c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/bin/doctor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ function println($str, $level = 0) {
echo $str . PHP_EOL;
}

if (!defined('_ROOT_')) {
println('Please run the command from index.php like `php index.php ' . basename($argv[0]) . '`');
exit;
}

$errors = 0;
$checkAPI = true;
if (isset($argv[1])) {
Expand Down
2 changes: 1 addition & 1 deletion app/routes/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

if (empty($slug)) {
// Default page
$slug = $config->get('homePage');
$slug = $config->get('homePage', 'index');
}

$page = $pages->read($slug, true);
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
define('_BIN_', _APP_ . 'bin/');
define('_THEMES_', _ROOT_ . 'themes/');
define('_PLUGINS_', _ROOT_ . 'plugins/');
define('_VERSION_', '0.7.0-dev');
define('_VERSION_', '0.7.1');

require_once _APP_ . 'bootstrap.php';

0 comments on commit 3aae39c

Please sign in to comment.