123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?php
- /**
- * Copyright 2021, 2024 5 Mode
- *
- * This file is part of Homomm.
- *
- * Homomm is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Homomm is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Homomm. If not, see <https://www.gnu.org/licenses/>.
- *
- * config.inc
- *
- * Homomm configuration settings.
- *
- * @author Daniele Bonini <my25mb@aol.com>
- * @copyrights (c) 2021, 2024, 5 Mode
- */
- define('DEBUG', true);
-
- define('APP_NAME', "Homomm");
- define('APP_SPLASH', true);
- define('APP_PATH', "/var/www/YourWebApp/Public/static");
- define('APP_SCRIPT_PATH', "/var/www/YourWebApp/Private/scripts");
- define('APP_ERROR_PATH', "/var/www/YourWebApp/Private/error");
- define('APP_SALT', "yoursalt");
- define('APP_REPO_PATH', "/var/www/YourWebApp/Private/Repo");
- define('APP_PIC_PATH', "/var/www/YourWebApp/Public/static/hmm-img");
- define('CMDLINE_VALIDCMDS', "~|sendmsg|refreshbrd|delmsg|delpic|");
- define('HISTORY_MAX_ITEMS', 50);
- // SMS by using your Twilio account
- define('SMS_API_URL', "");
- // Set here your Account SID
- define('SMS_USERNAME', "");
- // Set here your Auth Token
- define('SMS_PASSWORD', "");
- // Set here the Message Service to send message from..
- define('SMS_MESSAGING_SERVICE', "");
- // Set here the Message body
- define('SMS_BODY', "You have a new message on http://homomm.org");
- $CONFIG = [
- 'DEBUG' => true,
- 'APP' => [
- 'NAME' => "Homomm",
- 'SPLASH' => true,
- 'PATH' => "/var/www/YourWebApp/Public/static",
- 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts",
- 'ERROR_PATH' => "/var/www/YourWebApp/Private/error",
- 'SALT' => "yoursalt",
- 'REPO_PATH' => "/var/www/YourWebApp/Private/Repo",
- 'PIC_PATH' => "/var/www/YourWebApp/Public/static/hmm-img"
- ],
-
- 'AUTH' => [
- 'MASTER' => [
- 'USERNAME' => "John",
- 'PHONE' => "+160612345567",
- 'REPO_FOLDER' => "master",
- 'PIC_FOLDER' => "master",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => ""
- ],
- 'FRIEND_0' => [
- 'USERNAME' => "John",
- 'PHONE' => "+16061234567",
- 'REPO_FOLDER' => "user",
- 'PIC_FOLDER' => "user",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => ""
- ],
- 'FRIEND_1' => [
- 'USERNAME' => "John",
- 'PHONE' => "+16061234567",
- 'REPO_FOLDER' => "user",
- 'PIC_FOLDER' => "user",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => ""
- ],
- 'FRIEND_2' => [
- 'USERNAME' => "John",
- 'PHONE' => "+16061234567",
- 'REPO_FOLDER' => "user",
- 'PIC_FOLDER' => "user",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => ""
- ],
- ],
-
- 'CMDLINE' => [
- 'VALIDCMDS' => "~|sendmsg|refreshbrd|delmsg|delpic|"
- ],
- 'HISTORY' => [
- 'MAX_ITEMS' => 50
- ],
-
- 'SMS' => [
- 'API_URL' => "",
- 'USERNAME' => "",
- 'PASSWORD' => "",
- 'MESSAGING_SERVICE' => "",
- 'BODY' => "You have a new message on http://homomm.org"
- ]
-
- ];
- $LOCALE = [
- 'Monday' => "",
- 'Tuesday' => "",
- 'Wednesday' => "",
- 'Thursday' => "",
- 'Friday' => "",
- 'Saturday' => "",
- 'Sunday' => "",
- 'January' => "",
- 'February' => "",
- 'March' => "",
- 'April' => "",
- 'May' => "",
- 'June' => "",
- 'July' => "",
- 'August' => "",
- 'September' => "",
- 'October' => "",
- 'November' => "",
- 'December' => "",
- ];
-
-
- $EMOTICONS = [
- '[:-)]' => "🙂",
- '[:-p]' => "🤑",
- '[:c)]' => "😀",
- '[;-)]' => "😉",
- '[:-J]' => "😏",
- '[;-P]' => "😜",
- '[:-/]' => "😕",
- "[:'-)]" => "😓",
- '[B-)]' => "😎",
- '[=]]' => '😃',
- '[=)]' => "😄",
- '[*-)]' => "😍"
- ];
|