|
From: Jon O. <jon...@us...> - 2007-09-09 16:34:10
|
Update of /cvsroot/mxbb/mx_dev_startkit/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2663 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/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 20:55:20 -0000 1.1 --- subSilver.cfg 9 Sep 2007 16:34:05 -0000 1.2 *************** *** 21,26 **** // 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 // --- 21,26 ---- // 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 // *************** *** 33,36 **** --- 33,41 ---- // ------------------------------------------------------------------------- + // 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 // ------------------------------------------------------------------------- |