Skip to content

Instantly share code, notes, and snippets.

@ridhof
Created July 28, 2019 09:13
Show Gist options
  • Save ridhof/2e4eab4c12c0c773fd3096fbedbe10fd to your computer and use it in GitHub Desktop.
Save ridhof/2e4eab4c12c0c773fd3096fbedbe10fd to your computer and use it in GitHub Desktop.
<?php
/**
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
namespace LINE\LINEBot\EchoBot;
class Setting
{
public static function getSetting()
{
return [
'settings' => [
'displayErrorDetails' => false, // set to false in production
'logger' => [
'name' => 'slim-app',
'path' => __DIR__ . '/../../../logs/app.log',
],
'bot' => [
'channelToken' => '',
'channelSecret' => '',
]
// 'apiEndpointBase' => getenv('LINEBOT_API_ENDPOINT_BASE'),
],
];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment