[0001] poll/config.block.inc.php
//-- IP番号で二重投票を禁止する。( 1:禁止する, 0:禁止しない )
$cfg["b-ipsig"] = 1;
//-- クッキーで二重投票を禁止する。( 1:禁止する, 0:禁止しない )
$cfg["b-cksig"] = 1;
//-- 二重投票禁止の有効期限日数
//-- 【例1】 1000 : 1000日間(ディフォルト)
//-- 【例2】 300 : 300日間
//-- 【例3】 3 : 3日間
//-- 【例4】 0 : 無期限
$cfg["sig-expire"] = 1000;
[0002] poll/config.sig.inc.php
//-- cookie key
$cfg["voter-cookie-key"] = "_lkbnx_vck";
[0003] app/config.app.inc.php
//-- locale code
$cfg["lc"] = "jp";
//-- path to app root folder
$cfg["path-root"] = dirname(dirname(dirname(__FILE__))) . "/";
//-- admin folder
$cfg["dir-admin"] = "codegen";
//-- client folder
$cfg["dir-client"] = "cn";
//-- component folder
$cfg["dir-component"] = "components";
//-- template folder
$cfg["dir-tpl"] = "templates";
[0004] config.db.inc.php
$cfg["db-hostname"] = "localhost";
$cfg["db-database"] = "IINE-ADDON-TEST";
$cfg["db-username"] = "root";
$cfg["db-password"] = "password";
$cfg["db-tbl-prefix"] = "tbl_";
[0005] install/config.page.dbsetup.inc.php
//-- default hostname
$cfg["def-db-hostname"] = "localhost";
//-- default table prefix
$cfg["def-db-tbl-prefix"] = "tbl_";
[0006] client/config.ajax.inc.php
$cfg["appcfg"] = array(
//-- script version
"version" => "2.23",
//-- the class name of a <div> instance
"cls_selector" => "ajax-iine",
//-- the id prefix for <style>
"prefix_css" => "lkbnx-css-",
//-- the id prefix for <script>
"prefix_js" => "lkbnx-js-",
);
//$cfg["url_js1"] = "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js";
//$cfg["url_js1"] = "http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js";
$cfg["url_js1"] = CEnv::urlClient() . "js/jquery-1.2.6.js";
/* inclusive version range check */
/* 2.2.4 is the last version of 2.x.x */
$cfg["jq_min_ver"] = "1.2.6";
$cfg["jq_max_ver"] = "2.2.4";
$cfg["url_js2"] = CEnv::urlClient() . "client.php";
$cfg["app_main"] = "runAjaxIineButton";
[0007] config.env.inc.php
//-- php error report
error_reporting( 0 ); //-- for production use
#error_reporting( E_ALL ); //-- for development
[0008] admin/config.app.inc.php
//-- the module to jump when app title is clicked
$cfg["app-title-link"] = "codegen";
//-- include the domain name in the codegen url
$cfg["domain-in-url"] = false;