From 4e0d7d14ae85c1c077ba7201c2a594b655c3fbd8 Mon Sep 17 00:00:00 2001 From: jgen Date: Wed, 19 Feb 2014 18:19:56 -0500 Subject: [PATCH] Forgot the brackets. --- tests/all_tests.php | 2 +- tests/test_install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/all_tests.php b/tests/all_tests.php index f30c7cca..6c7092bc 100644 --- a/tests/all_tests.php +++ b/tests/all_tests.php @@ -18,7 +18,7 @@ define("CLI_LOG_LEVEL", -100); // output everything. // Get the command line option telling us where the webserver is. $options = getopt("h:"); -$host = rtrim(trim($options["h"], "/"); +$host = rtrim(trim($options["h"], "/")); if (empty($host)){ $host = "http://127.0.0.1"; } diff --git a/tests/test_install.php b/tests/test_install.php index ef0b16da..6fd0cfec 100644 --- a/tests/test_install.php +++ b/tests/test_install.php @@ -18,7 +18,7 @@ error_reporting(E_ALL); // Get the command line option telling us what database to use. $options = getopt("d:h:"); $db = $options["d"]; -$host = rtrim(trim($options["h"], "/"); +$host = rtrim(trim($options["h"], "/")); if (empty($db)){ die("Error: need to specifiy a database for the test environment."); } if (empty($host)){ $host = "http://127.0.0.1"; }