[0001] inpdt/config.date-picker.inc.php
//-- start year : yyyy or -n
$cfg["start-y"] = "2017";
//-- end year : yyyy or +n
$cfg["end-y"] = "+15";
// The first day of the week, Sun = 0, Mon = 1, ...
$cfg["first-dow"] = 0;
//-- always 6 rows : 1, variable rows : 0
$cfg["b-6rows"] = 1;
[0002] dtable/config.search.inc.php
$cfg["page-size-list"] = array(
1=>1,
5=>5,
10=>10,
20=>20,
25=>25,
50=>50,
100=>100,
200=>200,
250=>250,
500=>500
);
[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"] = "admin";
//-- client folder
$cfg["dir-client"] = "cn";
[0004] auth/config.auth.inc.php
//-- If you lose the root admin's password,
//-- use "emergency-password" to log into the administrator account.
//--
//-- (1) Assign a string to "emergency-password"
//-- (2) Open the login page,
//-- (3) Enter "emergency-password" in the "username"
//-- "password" input boxes, and click "Login"
//-- (4) From the top menu, click "Users"
//-- (5) Click the edit button of the root admin.
//-- (6) Change the password and save the change.
//-- (7) Clear "emergency-password"
//-- ( Set it back to an empty string, "" )
$cfg["emergency-password"] = "";
//-- the entry page of admin panel
$cfg["entry-page"] = "dcount";
[0005] config.db.inc.php
$cfg["db-hostname"] = "localhost";
$cfg["db-database"] = "AJAX-COUNTDOWN-102";
$cfg["db-username"] = "root";
$cfg["db-password"] = "password";
$cfg["db-tbl-prefix"] = "tbl_";
[0006] client/config.ajax.inc.php
$cfg["loader_sig"] = "sig-CAjaxCountDownV102";
//$cfg["cls_selector"] = "";
//$cfg["url_js1"] = "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js";
$cfg["url_js1"] = CEnv::urlClient() . "js/jquery-1.2.6.js";
$cfg["jq_min_ver"] = "1.2.6";
$cfg["jq_max_ver"] = "3.2.2";
$cfg["url_js2"] = CEnv::urlClient() . "js/CAjaxCountDown.js";
$cfg["app_selector_prefix"] = "ajaxcountdown-ctar-";
$cfg["app_main"] = "runCAjaxCountDown";
[0007] config.env.inc.php
//-- dev studio
$path = dirname(dirname(dirname(__FILE__))) . "/dev/conn/init.inc.php";
if ( file_exists($path) ) {
include_once( $path );
}
//-- php error report
error_reporting( 0 ); //-- for production use
error_reporting( E_ALL ); //-- for development
[0008] user/config.root-admin.inc.php
$cfg["root-admin-id"] = 1001;
[0009] user/config.search.inc.php
$cfg["sort-key-list"] = array("dt_create","username");
//$cfg["default-sort-key"] = "dt_create";
//$cfg["default-sort-dir"] = "desc";
[0010] sess/config.sess.inc.php
//-- session period (sec)
$cfg["sess-period"] = 6 * 60 * 60;
[0011] dcount/config.search.inc.php
$cfg["sort-key-list"] = array("dt_create","title");
//$cfg["default-sort-key"] = "dt_create";
//$cfg["default-sort-dir"] = "desc";
[0012] ._config.env.inc.php
[0013] admin/config.app.inc.php
//-- the module to jump when app title is clicked
$cfg["app-title-link"] = "dcount";
//-- show record id (true/false)
$cfg["show-recid"] = false;
[0014] passkey/config.passkey.inc.php
//-- Passkey Hash Method
//-- "" (empty string) : automatic (recommended)
//-- "V520:" : raw password (no hashing)
//-- "V530:" : hash passwords with the "crypt" function
//-- "V550:" : hash passwords with the "password_hash" function
$cfg["cver"] = "";