/trunk/lib/core.php |
---|
80,7 → 80,7 |
$path = split("/",$url["path"]); |
$currentIF = str_replace(".php","",$path[count($path)-1]); |
$req =& $dblink->query("SELECT * FROM interfaces WHERE interface NOT LIKE '$currentIF'"); |
$iflist = "Интерфейсы: "; |
$iflist = "<a href='./'>Интерфейсы</a>: "; |
while ($req->fetchInto($if, DB_FETCHMODE_ASSOC)) { |
$iflist .= "<a href='./".stripslashes($if["interface"]).".php'>".strtolower(stripslashes($if["interfaceinfo"]))."</a>, "; |
} |
/trunk/lib/config.inc.php.default |
---|
Новый файл |
0,0 → 1,14 |
<?php |
$CookieLogin = "AntLogin"; |
$CookiePasswd = "AntPWD"; |
$CookieDomain = "{DOMAIN}"; |
$CookiePath = "{PATH}"; |
$CookieTime = 60*30; |
$DBname = "{DB_NAME}"; |
$DBhost = "{DB_HOST}"; |
$DBuser = "{DB_USER}"; |
$DBpass = "{DB_PASS}"; |
?> |