From 56d054b743697f989fdeb7e95fac799df2d2e6b6 Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Mon, 22 Mar 2010 14:48:46 +0000 Subject: [PATCH] fix testInstall() error messages --- libs/sysplugins/smarty_internal_utility.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index 800f5496..253f9d2d 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -170,11 +170,11 @@ class Smarty_Internal_Utility { echo "Testing compile directory...\n"; if (!is_dir($this->smarty->compile_dir)) - echo "FAILED: $this->smarty->compile_dir is not a directory.\n"; + echo "FAILED: {$this->smarty->compile_dir} is not a directory.\n"; elseif (!is_readable($this->smarty->compile_dir)) - echo "FAILED: $this->smarty->compile_dir is not readable.\n"; + echo "FAILED: {$this->smarty->compile_dir} is not readable.\n"; elseif (!is_writable($this->smarty->compile_dir)) - echo "FAILED: $this->smarty->compile_dir is not writable.\n"; + echo "FAILED: {$this->smarty->compile_dir} is not writable.\n"; else echo "{$this->smarty->compile_dir} is OK.\n"; @@ -192,20 +192,20 @@ class Smarty_Internal_Utility { echo "Testing cache directory...\n"; if (!is_dir($this->smarty->cache_dir)) - echo "FAILED: $this->smarty->cache_dir is not a directory.\n"; + echo "FAILED: {$this->smarty->cache_dir} is not a directory.\n"; elseif (!is_readable($this->smarty->cache_dir)) - echo "FAILED: $this->smarty->cache_dir is not readable.\n"; + echo "FAILED: {$this->smarty->cache_dir} is not readable.\n"; elseif (!is_writable($this->smarty->cache_dir)) - echo "FAILED: $this->smarty->cache_dir is not writable.\n"; + echo "FAILED: {$this->smarty->cache_dir} is not writable.\n"; else echo "{$this->smarty->cache_dir} is OK.\n"; echo "Testing configs directory...\n"; if (!is_dir($this->smarty->config_dir)) - echo "FAILED: $this->smarty->config_dir is not a directory.\n"; + echo "FAILED: {$this->smarty->config_dir} is not a directory.\n"; elseif (!is_readable($this->smarty->config_dir)) - echo "FAILED: $this->smarty->config_dir is not readable.\n"; + echo "FAILED: {$this->smarty->config_dir} is not readable.\n"; else echo "{$this->smarty->config_dir} is OK.\n";