View previous topic :: View next topic |
Author |
Message |
PsychoPod
Joined: 05 Oct 2003 Posts: 166
|
Posted: 12.03.2004 02:36 Post subject: instaliranje smarty-a |
|
|
Kako?
citao sam manual i odmah na pocetku popizdio
Code: | Install the Smarty library files which are in the /libs/ directory of the distribution. These are the PHP files that you SHOULD NOT edit. They are shared among all applications and they only get updated when you upgrade to a new version of Smarty. |
ok, ne smijem ih mijenjati i trebam ih instalirati...ok. ali kako boga ti poljubim?
ne pise ni copy u taj i taj folder. nista. nikada nisam radio s smarty-em ni s dodatnim library-ma tako da mi je ovo problemcic.
pa ako netko moze reci sta trebam kopirati, aktivirati i brisati.
P.S. koristim virtual hostove za stranice pa imajte na umu i to.
hvala |
|
|
Back to top |
|
|
njava mi3.crew
Joined: 25 Aug 2003 Posts: 624 Location: Zagreb
|
Posted: 12.03.2004 11:10 Post subject: |
|
|
skopiraj te fajlove u neki direktorij unutar direktorijskog stabla weba na kojem ga mislis koristiti
u php skripti:
Code: | require("path/do/Smarty.class.php"); |
|
|
|
Back to top |
|
|
zytzagoo mi3.crew
Joined: 25 Aug 2003 Posts: 1842 Location: Zagreb, Hrvatska
|
Posted: 12.03.2004 12:32 Post subject: |
|
|
Ono u smarty manualu koristi se kad ga bas zelis instalirati i ukljuciti u include_path samog php-a, pa je taj smarty dostupan svima na serveru onda, i imas ga na jednom centralnom mjestu, tamo radis upgrade i sve, a pozivas odkud god hoces... Valjda |
_________________ [+]I[+]am[+]my[+]own[+]religion[+] |
|
Back to top |
|
|
tRC
Joined: 07 Sep 2003 Posts: 1280
|
Posted: 12.03.2004 13:33 Post subject: |
|
|
should not je preporuka a ne zabrana .. |
|
|
Back to top |
|
|
PsychoPod
Joined: 05 Oct 2003 Posts: 166
|
Posted: 12.03.2004 14:09 Post subject: |
|
|
tnx, will try. |
|
|
Back to top |
|
|
_butch
Joined: 10 Sep 2003 Posts: 870 Location: Maichno, Krlovc
|
Posted: 15.03.2004 00:02 Post subject: |
|
|
samo spucaj u neki dir u rooto svog dira u klojem radis i samo ga inkludaj i pocni raditi |
_________________ FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms! Flikrac |
|
Back to top |
|
|
|