[0001] 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
);
[0002] qpoll/config.search.inc.php
$cfg["sort-key-list"] = array("dt_create","title");
//$cfg["default-sort-key"] = "dt_create";
//$cfg["default-sort-dir"] = "desc";
[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";
//-- pic folder
$cfg["dir-pic"] = "pic";
[0004] inppic/config.file-upload.inc.php
//-- allowed file extensions
$cfg["allowed-fileext"] = "png, jpeg, jpg";
//-- allowed max file size
$cfg["max-file-size"] = ( 1000 * 1000 * 100 );
//-- max image width & height
$cfg["sizes"] = array(
"r" => array(
"w"=>-1,
"h"=>-1,
),
"m" => array(
"w"=>800,
"h"=>800,
),
"i" => array(
"w"=>300,
"h"=>300,
),
"t" => array(
"w"=>50,
"h"=>50,
),
);
//-- expiration period
$cfg["exp-period"] = 10 * ( 24 * 60 * 60 );
[0005] 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"] = "qpoll";
[0006] config.db.inc.php
$cfg["db-hostname"] = "localhost";
$cfg["db-database"] = "PIC-POLL-QUIQ-112";
$cfg["db-username"] = "root";
$cfg["db-password"] = "password";
$cfg["db-tbl-prefix"] = "quiq_";
[0007] install/config.page.dbsetup.inc.php
//-- default hostname
$cfg["def-db-hostname"] = "localhost";
//-- default table prefix
$cfg["def-db-tbl-prefix"] = "ntic_";
[0008] client/config.ajax.inc.php
$cfg["loader_sig"] = "sig-CPicPollQuiQV105";
//$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["fn_js2"] = "CPicPollQuiQ.min.js";
$cfg["app_selector_prefix"] = "ajaxnewsticker-ctar-";
$cfg["app_main"] = "runCPicPollQuiQ";
[0009] 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
[0010] user/config.root-admin.inc.php
$cfg["root-admin-id"] = 1001;
[0011] user/config.search.inc.php
$cfg["sort-key-list"] = array("dt_create","username");
//$cfg["default-sort-key"] = "dt_create";
//$cfg["default-sort-dir"] = "desc";
[0012] sess/config.sess.inc.php
//-- session period (sec)
$cfg["sess-period"] = 6 * 60 * 60;
[0013] admin/config.app.inc.php
//-- the module to jump when app title is clicked
$cfg["app-title-link"] = "qpoll";
//-- 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"] = "";