PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.smarty.general > finding the current include path?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
finding the current include path?

Réponse
 
LinkBack Outils de la discussion
Vieux 13/05/2006, 10h17   #1
D_C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut finding the current include path?

hello!

I am working inside a big system that uses smarty. trying to add some

({config_load file=$ui.langStringsFile })

to the templates. but the files cannot be found...

is there a smarty config setting to setup where the config files are
loaded from?

i would have thought the path would be relative to the main .php file
that was calling smarty, but it doesnt seem to be so.

tx!
--
_______________________________________________
David "DC" Collier

dc@pikkle.com
skype: callto://d3ntaku
http://www.pikkle.com
+81 (0)80 6521 9559

http://charajam.com$B!!!Z!z%-%c%i"v%8%c%`!z![(B
$B?M5$%-%c%i$H(BJ-POP$B:G?7%R%C%H6J$r<+J,$GAH$_9g$o$;$F(B
$BBT<u(BFlash$B$dCe(BFlash$B$r:n$C$A$c$*$&!* (B
_______________________________________________
  Réponse avec citation
Vieux 13/05/2006, 13h57   #2
messju mohr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] finding the current include path?

On Sat, May 13, 2006 at 06:17:13PM +0900, D_C wrote:
[...]
> is there a smarty config setting to setup where the config files are
> loaded from?


http://smarty.php.net/manual/en/variable.config.dir.php

> i would have thought the path would be relative to the main .php file
> that was calling smarty, but it doesnt seem to be so.
>
> tx!

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h49.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10849 seconds with 10 queries