| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?php
- /**
- * Copyright 2021, 2024 5 Mode
- * All Rights Reserved.
- *
- * This file is part of TheMultiversed.org.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither 5 Mode nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * config.inc
- *
- * TheMultiversed.org configuration settings.
- *
- * @author Daniele Bonini <my25mb@aol.com>
- * @copyrights (c) 2021, 2024, 5 Mode
- */
- define('DEBUG', false);
- define('DEMO', true);
- define('ADMIN_VIEW', "1");
- define('PUBLIC_VIEW', "2");
- define('LOCKED_VIEW', "3");
-
- define('APP_NAME', "TheMultiversed.org");
- define('APP_TITLE', "TheMultiversed.org: everyone its netbuddies.");
- // password: your_password
- //define('APP_BLOG_HASH', "");
- // password: your_password
- // salt: your_salt
- define('APP_HASH', "");
- define('APP_SALT', "yoursalt");
- define('APP_HOST', "YourMultiversedOrg.com");
- define('APP_PATH', "/var/www/YourWebApp/Public");
- define('APP_HOME_PATH', "");
- define('APP_PRIVATE_PATH', "/var/www/YourWebApp/Private");
- define('APP_SCRIPT_PATH', "/var/www/YourWebApp/Private/scripts");
- define('APP_AJAX_PATH', "/var/www/YourWebApp/Private/scripts_ajax");
- define('APP_ERROR_PATH', "/var/www/YourWebApp/Private/error");
- define('APP_DATA_PATH', "/var/www/YourWebApp/Private/data");
- define('APP_LICENSE', <<<LICENSETEXT
- Copyright (c) 2016, 2024, 5 Mode
- All rights reserved.
- This file is part of TheMultiversed.org.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither 5 Mode nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- https://opensource.org/licenses/BSD-3-Clause
- LICENSETEXT
- );
- // Default Locale, in two letters format
- define('APP_DEF_LANG', "en-US");
- define('APP_EMAIL_CONTACT', "info@yourmultiverseorg.com");
- $CONFIG = [
- 'DEBUG' => true,
- 'DEMO' => true,
-
- 'ADMIN_VIEW' => "1",
- 'PUBLIC_VIEW' => "2",
- 'LOCKED_VIEW' => "3",
-
- 'APP' => [
- 'NAME' => "TheMultiversed.org",
- 'TITLE' => "TheMultiversed.org: everyone its netbuddies.",
- // password: your_password
- // salt: your_salt
- 'HASH' => "",
- 'SALT' => "yoursalt",
- 'HOST' => "YourMultiversedorg.com",
- 'PATH' => "/var/www/YourWebApp/Public",
- 'HOME_PATH' => "",
- 'PRIVATE_PATH' => "/var/www/YourWebApp/Private",
- 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts",
- 'AJAX_PATH' => "/var/www/YourWebApp/Private/scripts_ajax",
- 'ERROR_PATH' => "/var/www/YourWebApp/Private/error",
- 'DATA_PATH' => "/var/www/YourWebApp/Private/data",
- 'LICENSE' => <<<LICENSETEXT
- Copyright (c) 2016, 2024, 5 Mode
- All rights reserved.
- This file is part of TheMultiversed.org.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither 5 Mode nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- https://opensource.org/licenses/BSD-3-Clause
- LICENSETEXT
- ,
- 'DEF_LANG' => "en-US",
- 'EMAIL_CONTACT' => "info@yourmultiversedorg.com"
- ]
-
- ];
- // !!! ATTENTION !!!
- // Every GROUP must have max 8 buddies
- // Every ZONE must have max 2 buddies
- $FRIENDS = [
- 'DEV' => [
- 'Daniele' => [
- 'gender' => "male",
- 'hairc' => 2,
- 'glasses' => 1,
- 'beard' => 0,
- 'Location' => "Bologna, Italy",
- 'Desc' => "PHP developer",
- 'online' => 1,
- 'defStatus' => "on vacation: Unix, IDE, etc.",
- 'Phone' => "+393387654321",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 1
- ],
- 'Stuart' => [
- 'gender' => "male",
- 'hairc' => 3,
- 'glasses' => 0,
- 'beard' => 0,
- 'Location' => "Machester, UK",
- 'Desc' => "C/C++ developer",
- 'online' => 1,
- 'defStatus' => "in office",
- 'Phone' => "+444712345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 2
- ],
- 'Crystal' => [
- 'gender' => "female",
- 'hairc' => 2,
- 'glasses' => 0,
- 'beard' => 0,
- 'Location' => "Reading, UK",
- 'Desc' => "C/C++ developer",
- 'online' => 1,
- 'defStatus' => "in my studio",
- 'Phone' => "+444712345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 2
- ],
- 'Michael' => [
- 'gender' => "male",
- 'hairc' => 2,
- 'glasses' => 1,
- 'beard' => 0,
- 'Location' => "Chicago, USA",
- 'Desc' => "Book Author, OpenBSD enthusiast",
- 'online' => 0,
- 'defStatus' => "business trip",
- 'Phone' => "+123412345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 3
- ],
- 'Jan' => [
- 'gender' => "male",
- 'hairc' => 3,
- 'glasses' => 0,
- 'beard' => 0,
- 'Location' => "Liverpool, UK",
- 'Desc' => "C/C++ developer",
- 'online' => 1,
- 'defStatus' => "in the hell? damn it should be more nice..",
- 'Phone' => "+123412345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 4
- ],
- 'Theo' => [
- 'gender' => "male",
- 'hairc' => 1,
- 'glasses' => 0,
- 'beard' => 1,
- 'Location' => "Montreal, Cananda",
- 'Desc' => "C/C++ developer",
- 'online' => 0,
- 'defStatus' => "business trip last",
- 'Phone' => "+123412345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 4
- ]
- ],
- 'MARKETING' => [
- 'Bill' => [
- 'gender' => "male",
- 'hairc' => 2,
- 'glasses' => 1,
- 'beard' => 0,
- 'Location' => "Seattle, US",
- 'Desc' => "retired buddy",
- 'online' => 1,
- 'defStatus' => "on one of my boats",
- 'Phone' => "+444712345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 1
- ],
- 'Steven' => [
- 'gender' => "male",
- 'hairc' => 3,
- 'glasses' => 0,
- 'beard' => 0,
- 'Location' => "Las Vegas, US",
- 'Desc' => "retired buddy",
- 'online' => 0,
- 'defStatus' => "playing chess",
- 'Phone' => "+444712345678",
- 'Homomm' => "https://homomm.5mode-foss.eu",
- 'Blog' => "https://blog.",
- 'www' => "https://www.",
- // password: yourpassword
- // salt: yoursalt
- 'HASH' => "",
- 'zone' => 1
- ]
- ]
- ];
- $LOCALE = [
- 'it-IT' => [
-
- '/home.php' => [
- 'ping' => "pong",
- 'How-to: Manage your avatars in TheMultiversed.org' => "How-to: Gestire i tuoi avatar in TheMultiversed.org",
- 'CV' => "CV",
- 'Sample' => "Esempio",
- 'My Network' => "Network",
- 'Hello from 5 Mode' => "Ciao da 5 Mode",
- 'This is just an example of blog entry' => "Questo e' giusto un esempio di post nel blog",
- 'Go' => "Vai",
- 'Hash Me' => "Codificami",
- 'Some rights reserved' => "Alcuni diritti riservati"
- ],
-
- '/js/home-js.php' => [
- 'ping' => "pong",
- 'Please set your hash in the config file with this value' => "Puoi impostare il tuo hash nel file config con questo valore"
- ]
-
- ],
- 'zh-CN' => [
-
- '/home.php' => [
- 'ping' => "pong",
- 'How-to: Manage your avatars in TheMultiversed.org' => "HOW-TO: 免费管理您的化身",
- 'CV' => "简历",
- 'Sample' => "样本",
- 'My Network' => "我的网络",
- 'Hello from 5 Mode' => "您好5 MODE",
- 'This is just an example of blog entry' => "这只是博客条目的一个例子",
- 'Go' => "去",
- 'Hash Me' => "哈希我",
- 'Some rights reserved' => "保留一些权利"
- ],
-
- '/js/home-js.php' => [
- 'ping' => "pong",
- 'Please set your hash in the config file with this value' => "请在配置文件中设置您的哈希"
- ]
-
- ]
-
- ];
- $EMOTICONS = [
- '[:-)]' => "🙂",
- '[:-p]' => "🤑",
- '[:c)]' => "😀",
- '[;-)]' => "😉",
- '[:-J]' => "😏",
- '[;-P]' => "😜",
- '[:-/]' => "😕",
- '[@-)]' => "😓",
- '[B-)]' => "😎",
- '[=]]' => '😃',
- '[=)]' => "😄",
- '[*-)]' => "😍"
- ];
|