Ángel Guzmán Maeso : output path of config file on not found error

Jeremy Newman jnewman at winehq.org
Mon Jun 2 15:31:04 CDT 2008


Module: website
Branch: master
Commit: f04a829ce505eb5534d2956f8d06dedc08f72000
URL:    http://source.winehq.org/git/website.git/?a=commit;h=f04a829ce505eb5534d2956f8d06dedc08f72000

Author: Ángel Guzmán Maeso <shakaran at gmail.com>
Date:   Mon Jun  2 15:30:09 2008 -0500

output path of config file on not found error

---

 include/config.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/config.php b/include/config.php
index a5f1fe2..2a3b837 100644
--- a/include/config.php
+++ b/include/config.php
@@ -22,7 +22,7 @@ class config
             // exit if config not found
             if (!file_exists($path))
             {
-                echo 'config file not found!';
+                echo "config file {$path} not found!";
                 exit();
             }
         




More information about the wine-cvs mailing list