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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 13:01:32 2024 UTC