diff options
| author | bookcorner <git@bookcorner.ge> | 2026-07-27 01:47:52 +0400 |
|---|---|---|
| committer | bookcorner <git@bookcorner.org> | 2026-07-27 01:47:52 +0400 |
| commit | 0ef28b35abf576b7b38e8463e4db29f575cc7c7e (patch) | |
| tree | 74ebb4dd4e0348d4eb7fecd593d9b3fd78819cf1 /var/www/htdocs/phoenixcart | |
| parent | 1a1b60b6ef37af8d4895be0b0a0cbffd0a84c88e (diff) | |
| download | infra-master.tar infra-master.tar.gz infra-master.tar.bz2 infra-master.tar.lz infra-master.tar.xz infra-master.tar.zst infra-master.zip | |
Diffstat (limited to 'var/www/htdocs/phoenixcart')
| -rw-r--r-- | var/www/htdocs/phoenixcart/admin/includes/configure.php | 31 | ||||
| -rw-r--r-- | var/www/htdocs/phoenixcart/includes/configure.php | 23 |
2 files changed, 54 insertions, 0 deletions
diff --git a/var/www/htdocs/phoenixcart/admin/includes/configure.php b/var/www/htdocs/phoenixcart/admin/includes/configure.php new file mode 100644 index 0000000..80d145b --- /dev/null +++ b/var/www/htdocs/phoenixcart/admin/includes/configure.php @@ -0,0 +1,31 @@ +<?php + error_reporting(E_ALL); + + const HTTP_SERVER = 'https://bookcorner.ge'; + const COOKIE_OPTIONS = [ + 'lifetime' => 0, + 'domain' => 'bookcorner.ge', + 'path' => '/admin', + 'samesite' => 'Lax', + 'secure' => true, + ]; + const DIR_WS_ADMIN = '/admin/'; + + const HTTP_CATALOG_SERVER = 'https://bookcorner.ge'; + const DIR_WS_CATALOG = '/'; + + date_default_timezone_set('Asia/Tbilisi'); + + const DIR_FS_CATALOG = '/htdocs/phoenixcart/'; + + const DIR_FS_DOCUMENT_ROOT = '/htdocs/phoenixcart/'; + const DIR_FS_ADMIN = '/htdocs/phoenixcart/admin/'; + const DIR_FS_BACKUP = DIR_FS_ADMIN . 'backups/'; + +// If you are asked to provide configure.php details, +// before sharing, please remove the data below and +// obfuscate the admin folder and home directory (DIR_FS). + const DB_SERVER = '127.0.0.1'; + const DB_SERVER_USERNAME = 'phoenixcart'; + const DB_SERVER_PASSWORD = 'h8wr8zsmzivqjvlxh5odpex4zah4anar'; + const DB_DATABASE = 'phoenixcart'; diff --git a/var/www/htdocs/phoenixcart/includes/configure.php b/var/www/htdocs/phoenixcart/includes/configure.php new file mode 100644 index 0000000..32a0408 --- /dev/null +++ b/var/www/htdocs/phoenixcart/includes/configure.php @@ -0,0 +1,23 @@ +<?php + error_reporting(E_ALL); + + const HTTP_SERVER = 'https://bookcorner.ge'; + const COOKIE_OPTIONS = [ + 'lifetime' => 0, + 'domain' => 'bookcorner.ge', + 'path' => '/', + 'samesite' => 'Lax', + 'secure' => true, + ]; + const DIR_WS_CATALOG = '/'; + + date_default_timezone_set('Asia/Tbilisi'); + +// If you are asked to provide configure.php details, +// please remove the data below before sharing. + const DIR_FS_CATALOG = '/htdocs/phoenixcart/'; + + const DB_SERVER = '127.0.0.1'; + const DB_SERVER_USERNAME = 'phoenixcart'; + const DB_SERVER_PASSWORD = 'h8wr8zsmzivqjvlxh5odpex4zah4anar'; + const DB_DATABASE = 'phoenixcart'; |
