Pogledajte određenu poruku
Staro 04. 07. 2005.   #7
mungos
Knowledge base
Wrote a book
 
Datum učlanjenja: 09.06.2005
Poruke: 1.123
Hvala: 26
319 "Hvala" u 22 poruka
mungos is on a distinguished roadmungos is on a distinguished roadmungos is on a distinguished roadmungos is on a distinguished road
Default

Kod mene u code ovaj dio sto je Bluesman postovao izgleda ovako:
Kôd:
// Smarty: create new Smarty object and it's configs'
$smarty = new MySmarty;
//$smarty->compile_check = true;
$smarty->compile_check = true;
$smarty->debugging = true;
$smarty->security_settings['ALLOW_CONSTANTS'];
//$smarty->debugging = true;
//$smarty->config_dir = "../configs/";
//$smarty->cache_dir = "../cashe/";
define("TEMPLATE_RELATIVE_DIR", "templates/");

define("TEMPLATE_BASE_PATH", BASE_PATH . "/templates/");
define("TEMPLATE_COMPILE_BASE_PATH", BASE_PATH . "/template_c/");
define("TEMPLATE_BASE_URL", "templates/");

$smarty->compile_dir = TEMPLATE_COMPILE_BASE_PATH;
$smarty->template_dir = TEMPLATE_BASE_PATH;
Pokrenuo sam juce skript na kucnom serveru, bez ikakvog dodatnog setovanja prikazuje uredno poruku o gresci. Predpostavljam da je u pitanju ovo sto je Dinke napisao, problem sa display_errors. Sada, nisam uspio u svom kodu da pronadjem taj dio, kako izgleda ta linija i gdje najbolje da je dodam?

Jedino nesto slicno tome nasao sam na Netu u ovom obliku:
Citat:
void smarty_function_display_errors( mixed $params, mixed &$smartyÂ* )

Poslednja izmena od mungos : 04. 07. 2005. u 09:48.
mungos je offline   Odgovorite uz citat