|
From: Jon O. <jon...@us...> - 2007-09-09 19:28:54
|
Update of /cvsroot/mxbb/mx_act/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31030 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_act/templates/subSilver/subSilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** subSilver.cfg 5 Apr 2006 21:10:46 -0000 1.1 --- subSilver.cfg 9 Sep 2007 19:28:51 -0000 1.2 *************** *** 14,19 **** // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If ! // that language isn't available it will default to english. ! // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // --- 14,19 ---- // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If ! // that language isn't available it will default to english. ! // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // *************** *** 26,29 **** --- 26,34 ---- // ------------------------------------------------------------------------- + // Do some checks + // ------------------------------------------------------------------------- + $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path ); + + // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- |