From 00252a4bab107b716fd282c4c28cce6ce494c3e7 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 5 Oct 2013 15:48:03 +0000 Subject: [PATCH] whoops! forgot to add the toolkit, forgot a quote, and messed up verbosity comparison. --- run.d/cakephp | 2 +- run.d/toolkit.php | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 run.d/toolkit.php diff --git a/run.d/cakephp b/run.d/cakephp index 4764b71..7610474 100644 --- a/run.d/cakephp +++ b/run.d/cakephp @@ -5,7 +5,7 @@ require_once("toolkit.php"); $cake_api = file_get_contents("https://github.com/cakephp/cakephp/tags"); if( preg_match("/\([0-9\.]+)\<\/span\>/", $cake_api, $matches) ) { $cake_current = $matches[1]; - verbose(Current CakePHP version: $cake_current", 1); + verbose("Current CakePHP version: $cake_current", 1); }else { die("Unable to determine current CakePHP version, exiting\n"); } diff --git a/run.d/toolkit.php b/run.d/toolkit.php new file mode 100644 index 0000000..56e4353 --- /dev/null +++ b/run.d/toolkit.php @@ -0,0 +1,26 @@ +