From b3b6fb21983f8bc954cc63f9e8885f316eafb9b6 Mon Sep 17 00:00:00 2001 From: pete_morgan Date: Sat, 10 Sep 2005 11:36:33 +0000 Subject: [PATCH] highlight full sys path --- docs/en/programmers/smarty-constants.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/en/programmers/smarty-constants.xml b/docs/en/programmers/smarty-constants.xml index 16436fca..378a7c31 100644 --- a/docs/en/programmers/smarty-constants.xml +++ b/docs/en/programmers/smarty-constants.xml @@ -6,7 +6,8 @@ SMARTY_DIR - This should be the full system path to the location of the Smarty + This should be the full system path + to the location of the Smarty class files. If this is not defined, then Smarty will attempt to determine the appropriate value automatically. If defined, the path must end with a slash. @@ -22,8 +23,8 @@ define('SMARTY_DIR','/usr/local/lib/php/Smarty/libs/'); // path to Smarty windows style define('SMARTY_DIR','c:/webroot/libs/Smarty/libs/'); -// hack (not recommended) that works on both *nix and wind -// Smarty is assumend to be in 'includes' dir under script +// hack (not recommended) that works on both *nix and windows +// Smarty is assumend to be in 'includes' dir under current script define('SMARTY_DIR',str_replace("\\","/",getcwd()).'/includes/Smarty/libs/'); // include the smarty class Note 'S' is upper case