Parašė aidaz· 2009 Rugp. 15 18:08:17
#1
Sveiki kiek ieskojau neradau paaiskinimu. Taigi turiu tokia beda.
Susikuriau savo tinklapi ir isidejau zaidimo Counter Strike amxbans sistemi kuri mano tinklapi rodo esamus uzbanintus zaidejus. Taigi padariau viska pagal viena pamoka bet kai bandau eiti i ta direktorija meta toki erora:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/aidazzzas/cs-g.xz.lt/amxbans/include/config.inc.php on line 87
Kaip supratau kazkas ne taip 87 eilutei bet cia defaultas yra ta prasm toki faila is neto siunciaus
Stai kodas nuo 79 eilutes iki galo
/* Don't edit below this line */
$config->update_url = "http://www.amxbans.net";
$config->php_version = "5.0";
$config->default_lang = "english";
/* Smarty settings */
define("SMARTY_DIR", $config->path_root"\smarty\");
require(SMARTY_DIR. "smarty.class.php");
class dynamicPage extends Smarty {
function dynamicPage() {
global $config;
$this->Smarty();
$this->template_dir = $config->templatedir;
$this->compile_dir = SMARTY_DIR."templates_c/";
$this->config_dir = SMARTY_DIR."configs/";
$this->cache_dir = SMARTY_DIR."cache/";
$this->caching = FALSE;
$this->assign("app_name","dynamicPage");
}
}
?>
Redagavo aidaz· 2009 Rugp. 15 18:08:04