76 lines
2.9 KiB
PHP
76 lines
2.9 KiB
PHP
<?php
|
|
/*************************************************************
|
|
# 076 License
|
|
|
|
Copyright (c) テクニカル諏訪子
|
|
|
|
Permission is hereby granted to any person obtaining a copy of the software
|
|
Little Beast (the "Software") to use, modify, merge, copy, publish, distribute,
|
|
sublicense, and/or sell copies of the Software, subject to the following conditions:
|
|
|
|
1. **Origin Attribution**:
|
|
- You must not misrepresent the origin of the Software; you must not claim
|
|
you created the original Software.
|
|
- If the Software is used in a product, you must either:
|
|
a. Provide clear attribution in the product's documentation, user interface,
|
|
or other visible areas, **OR**
|
|
b. Pay the original developers a fee they specify in writing.
|
|
2. **Usage Restriction**:
|
|
- The Software, or any derivative works, dependencies, or libraries
|
|
incorporating it, must not be used for censorship or to suppress freedom of
|
|
speech, expression, or creativity. Prohibited uses include, but are not
|
|
limited to:
|
|
- Censorship of so-called "hate speech", visuals, non-mainstream opinions,
|
|
ideas, or objective reality.
|
|
- Tools or systems designed to restrict access to information or
|
|
artistic works.
|
|
3. **Notice Preservation**:
|
|
- This license and the above copyright notice must remain intact in all copies
|
|
of the source code.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
|
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
define('REPO_ROOT', '/repos/');
|
|
define('TWITTER_HANDLE', '@techsuwako');
|
|
define('SITEINFO', [
|
|
'title' => 'Little Beast',
|
|
'description' => 'PHP Framework',
|
|
'tags' => 'game,tech,developer',
|
|
]);
|
|
define('MAILINFO', [
|
|
'from' => 'hogehoge@ho.ge',
|
|
'host' => 'smtp.ho.ge',
|
|
'port' => 587,
|
|
'user' => 'hogehoge@ho.ge',
|
|
'pass' => 'hogehogehoge',
|
|
]);
|
|
define('FEDIINFO', [
|
|
'actor' => 'loli',
|
|
'actorNick' => 'ロリ',
|
|
'desc' => '',
|
|
'icon' => '/static/logo.png',
|
|
'pubkey' => ROOT.'/public/static/pub.pem',
|
|
'privkey' => ROOT.'/data/priv.pem',
|
|
]);
|
|
define('OPENPROVIDER', [
|
|
'username' => '',
|
|
'password' => '',
|
|
'ip' => '0.0.0.0',
|
|
'owner_handle' => '',
|
|
]);
|
|
|
|
define('MAILER_ENABLED', false);
|
|
define('LOGGING_ENABLED', true);
|
|
define('ATOM_ENABLED', true);
|
|
define('ACTIVITYPUB_ENABLED', false);
|
|
define('CURL_ENABLED', true);
|
|
define('AUTH_ENABLED', false);
|
|
define('OPENPROVIDER_ENABLED', false);
|
|
define('AUTH_REGISTER_ENABLED', false);
|
|
define('COPYRIGHT_YEAR', '2018-'.date('Y'));
|
|
define('DEBUG_MODE', false); |