[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 5e30020708a5775c5cff854271d4be6c61f798b0

Stefan Hornburg racke at rt.icdevgroup.org
Mon Oct 19 14:04:27 UTC 2009


       via  5e30020708a5775c5cff854271d4be6c61f798b0 (commit)
      from  d7753a16692758831cf65a92e4e959d212e5c5e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5e30020708a5775c5cff854271d4be6c61f798b0
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Mon Oct 19 16:03:46 2009 +0200

    return some error back to the user instead of a blank page when variables are missinreturn some error back to the user instead of a blank page when variables are missing

-----------------------------------------------------------------------

Summary of changes and diff:
 code/compose.tag |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/code/compose.tag b/code/compose.tag
index a3885a6..ddbfe9f 100644
--- a/code/compose.tag
+++ b/code/compose.tag
@@ -64,10 +64,12 @@ sub {
 
 	if( !$Variable->{MV_TEMPLATE_DIR} ){
 		::logError("MV_TEMPLATE_DIR is not set. [compose] cannot function properly without this variable.");
+		return errmsg('Templates not found, please contact site administrator.');
 	}
 
 	if( !$Variable->{MV_COMPONENT_DIR} ){
 		::logError("MV_COMPONENT_DIR is not set. [compose] cannot function properly without this variable.");
+		return errmsg('Components not found, please contact site administrator.');
 	}
 
 	unless( $template_file = $opt->{template_file} ) {


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list