Skip to content

Commit

Permalink
Commented some lines in the params.php
Browse files Browse the repository at this point in the history
  • Loading branch information
msyk committed Feb 3, 2024
1 parent b96844e commit 50d663c
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions params.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@
//$dbPassword = 'l{OVBu":DoX#D,+\hu*S';

//$activateGenerator = true;
$generatorUser = $dbUser;
$generatorPassword = $dbPassword;
$generatorOptions = [
'default-type' => "TEXT",
'pk-type' => 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY',
'fk-type' => 'INT',
'datetime-suffix' => '_dt',
'date-suffix' => '_date',
'time-suffix' => '_time',
'int-suffix' => '_int',
'double-suffix' => '_double',
'text-suffix' => '_text',
'datetime-prefix' => 'dt_',
'date-prefix' => 'date_',
'time-prefix' => 'time_',
'int-prefix' => 'int_',
'double-prefix' => 'double_',
'text-prefix' => 'text_',
'dummy-table' => 'dummy'
];
//$generatorUser = $dbUser;
//$generatorPassword = $dbPassword;
//$generatorOptions = [
// 'default-type' => "TEXT",
// 'pk-type' => 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY',
// 'fk-type' => 'INT',
// 'datetime-suffix' => '_dt',
// 'date-suffix' => '_date',
// 'time-suffix' => '_time',
// 'int-suffix' => '_int',
// 'double-suffix' => '_double',
// 'text-suffix' => '_text',
// 'datetime-prefix' => 'dt_',
// 'date-prefix' => 'date_',
// 'time-prefix' => 'time_',
// 'int-prefix' => 'int_',
// 'double-prefix' => 'double_',
// 'text-prefix' => 'text_',
// 'dummy-table' => 'dummy'
//];

/* Security
* ===================
Expand Down Expand Up @@ -120,27 +120,27 @@
/* Messaging Settings
* =================== */
// If you want to specify the smtp server info, set them below.
$sendMailSMTP = array(
'server' => 'msyk.sakura.ne.jp',
'port' => '587',
'username' => '[email protected]',
'password' => '*********',
);
//$sendMailSMTP = array(
// 'server' => 'msyk.sakura.ne.jp',
// 'port' => '587',
// 'username' => '[email protected]',
// 'password' => '*********',
//);
// $waitAfterMail = 20; // Wait after send email with smtp server. Unit is Millisecond.

// Sending email features compatibility with INTER-Mediator v5 unless 'template-context' key isn't specified.
$sendMailCompatibilityMode = false; // default is false (Until Ver.9 the default value was true.)
//$sendMailCompatibilityMode = false; // default is false (Until Ver.9 the default value was true.)

// Error/Warning/Debug messages can write to the PHP's error log. The default values are false
//$errorMessageLogging = false;
//$warningMessageLogging = true; // All messages are going to write error log.
//$debugMessageLogging = 'INTERMediator\DB'; // Messages from specified namespace are going to write error log.

// Slack posting token and channel. You must create the Slack App permitting 'chat:write:bot' and generate OAuth2 token.
$slackParameters = [
"token" => 'xoxp-XXXXXXXXXXX-XXXXXXXXXXX-XXXXXXXXXXXX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
"channel" => 'message-posting-test',
];
//$slackParameters = [
// "token" => 'xoxp-XXXXXXXXXXX-XXXXXXXXXXX-XXXXXXXXXXXX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
// "channel" => 'message-posting-test',
//];

/* Authorization
* =================== */
Expand Down Expand Up @@ -204,8 +204,8 @@
* ===================
* the table named 'operationlog' is required.
* The schema of the table describes in dist-docs/sample_schema_*.txt files. */
$accessLogLevel = true; // false: No logging, 1: without data, 2: with data

$accessLogLevel = false; // false: No logging, 1: without data, 2: with data
/*
$dbClassLog = $dbClass;
$dbDSNLog = $dbDSN;
$dbUserLog = $dbUser;
Expand All @@ -215,7 +215,7 @@
$dontRecordTheme = false;
$dontRecordChallenge = false;
$dontRecordDownload = false;
$dontRecordDownloadNoGet = false;
$dontRecordDownloadNoGet = false; */
//$accessLogExtensionClass = 'LoggingExt'; // Processing for some extending fields.

/* Media File Support
Expand Down Expand Up @@ -273,8 +273,8 @@
//$messages['ja'][1022] = "Internet Explorerは使用できません。Edgeあるいは他の一般的なブラウザをご利用ください。";
// These messages are for sample purpose but they are used for unit tests. If you modify them, you have to care about the test code.
// Following two lines are using on unit test.
$messages['default'][9999] = "Changed";
$messages['ja'][9999] = "変更した";
//$messages['default'][9999] = "Changed";
//$messages['ja'][9999] = "変更した";

/* Initial values for local context with their keys. */
//$valuesForLocalContext = array(
Expand Down Expand Up @@ -302,7 +302,7 @@
* field and value, but the string encoding is convert to sjis or ucs-4 and back to utf-8.
* As the default, the string is going to be encoded with the urlencode function.
*/
$uploadFilePathMode = "";
//$uploadFilePathMode = "";

/* Other settings
* =================== */
Expand Down

0 comments on commit 50d663c

Please sign in to comment.