Mam serwer na home i strona oparta na smarty działą ładnie.
Dziś wrzuciłem pliki na dedyka - i nie dział:|
Mam biały ekran:/
Dziwne bo wszystko mam ok skonfigurowane - co może być tego przyczyną?
<?php require_once('smarty/Smarty.class.php'); $smarty = new Smarty(); $smarty->template_dir = "templates/"; $smarty->compile_dir ='smarty/templates_c/'; $smarty->config_dir = 'smarty/configs/'; $smarty->cache_dir = 'smarty/cache/'; ?>
<?php require_once('/smarty/Smarty.class.php'); $smarty = new Smarty(); $smarty->template_dir = "/templates/"; $smarty->compile_dir ='/smarty/templates_c/'; $smarty->config_dir = '/smarty/configs/'; $smarty->cache_dir = '/smarty/cache/'; ?>
i do każdego includa itp dołączam i mi już działa.
<?php ?>