Problem with templates_c

From: Date: Thu, 21 Mar 2002 12:20:28 +0000
Subject: Problem with templates_c
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3172@lists.php.net to get a copy of this message
I stored the following in a .inc-file which will be loaded with require_once on each page I will need it: $smarty->caching = true; $smarty->compile_check = true; $smarty->debug = false; $smarty->cache_dir = "$DOCUMENT_ROOT/cache"; $smarty->compile_dir = "$DOCUMENT_ROOT/templates_c"; $smarty->template_dir = "$DOCUMENT_ROOT/templates/wa-p.de"; When I run a Script (PHP) using Smarty a new directory (templates_c) will be created in the directory the PHP-Script exists, but I told Smarty to store all compiled templates in $smarty->compile_dir = "$DOCUMENT_ROOT/templates_c"; My Document root is "/www/wa-p.de"; What is wrong here? I use Smarty 2.0.1. -- JOchen

« previous php.smarty.general (#3172) next »