php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #43763 http://news.php.net/php.smarty.dev/2703 has inconsistent directory name refs
Submitted: 2008-01-06 03:56 UTC Modified: 2008-01-06 09:44 UTC
From: mike_phelan at yahoo dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike_phelan at yahoo dot com
New email:
PHP Version: OS:

 

 [2008-01-06 03:56 UTC] mike_phelan at yahoo dot com
Description:
------------
A page on the PHP website contains typos in the directory names referenced in a tutorial.

The page with the bug is:
http://news.php.net/php.smarty.dev/2703

Setup these two folders INSIDE your www root:
(wwwroot)/smarty/templates  (this is where your templates will go)
(wwwroot)/smarty/configs

Setup these two folders OUTSIDE of your www root:
d:/smarty/templates_c
d:/smarty/cache

...

$smarty->template_dir = 'd:/inetpub/wwwroot/smarty/templates';
//the next line should say configs, rather than config
$smarty->config_dir = ' d:/inetpub/wwwroot/smarty/config';
//the next line should say cache rather than smarty_cache
$smarty->cache_dir = 'd:/smarty/smarty_cache';
//the next line should say templates_c rather than smarty_templates_c
$smarty->compile_dir = 'd:/smarty/smarty_templates_c';


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-06 09:44 UTC] bjori@php.net
Eeeehh...
That "page" you are looking at is an email sent by some guy to a smarty development mailinglist two years ago.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 03:00:02 2026 UTC