Salve a tutti...ho un problema con Smarty...
in pratica quando eseguo
mi da il seguente errore:Codice PHP:
require "Smarty.class.php";
mySmarty è un file dove viene impostato smarty...dall'errore ho pensato che devo impostare l'include_path nel file php.ini, ed ho fatto cosìWarning: require(Smarty.class.php) [function.require]: failed to open stream: No such file or directory in C:\Users\Ciccio\Desktop\localhost\Templates\mySmar ty.class.php on line 3
Fatal error: require() [function.require]: Failed opening required 'Smarty.class.php' (include_path='.;C:\php5\pear') in C:\Users\Ciccio\Desktop\localhost\Templates\mySmar ty.class.php on line 3
il problema è che mi da sempre lo stesso errore con lo stesso include_path come se non avessi modificato niente; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;${path}\php\includes;C:\Users\Ciccio\Desktop\lo calhost\Templates\Smarty\libs;"
;
; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
dove che sbaglio?(include_path='.;C:\php5\pear')