06.07.2010, 10:50
|
#3
|
Администратор
Регистрация: 09.11.2007
Адрес: Украина, Кривбасс
Возраст: 38
Сообщений: 6,377
Отблагодарили 3,722 раз(а)
|
Re: Изменение!
Функция getHtmlPath():
[SOURCE="java"]public String getHtmlPath(int npcId, int val)
{
String pom = "";
if (val == 0)
pom = "" + npcId;
else
pom = npcId + "-" + val;
String temp = "data/html/default/" + pom + ".htm";
if (!Config.LAZY_CACHE)
{
// If not running lazy cache the file must be in the cache or it doesnt exist
if (HtmCache.getInstance().contains(temp))
return temp;
}
else
{
if (HtmCache.getInstance().isLoadable(temp))
return temp;
}
// If the file is not found, the standard message "I have nothing to say to you" is returned
return "data/html/npcdefault.htm";
}[/SOURCE]
__________________
composer require laravel/framework
yarn add vue
|
|
|