PHP 8.2.30
Preview: Conf.php Size: 2.04 KB
/proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/var/softaculous/orange/Conf.php

<?php

/**
 * OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures
 * all the essential functionalities required for any enterprise.
 * Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
 *
 * OrangeHRM 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.
 *
 * OrangeHRM 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 OrangeHRM.
 * If not, see <https://www.gnu.org/licenses/>.
 */

class Conf
{
    private string $dbHost;
    private string $dbPort;
    private string $dbName;
    private string $dbUser;
    private string $dbPass;

    public function __construct()
    {
        $this->dbHost = '[[softdbhost]]';
        $this->dbPort = '3306';
        if (defined('ENVIRONMENT') && ENVIRONMENT == 'test') {
            $prefix = defined('TEST_DB_PREFIX') ? TEST_DB_PREFIX : '';
            $this->dbName = $prefix . 'test_[[softdb]]';
        } else {
            $this->dbName = '[[softdb]]';
        }
        $this->dbUser = '[[softdbuser]]';
        $this->dbPass = '[[softdbpass]]';
    }

    /**
     * @return string
     */
    public function getDbHost(): string
    {
        return $this->dbHost;
    }

    /**
     * @return string
     */
    public function getDbPort(): string
    {
        return $this->dbPort;
    }

    /**
     * @return string
     */
    public function getDbName(): string
    {
        return $this->dbName;
    }

    /**
     * @return string
     */
    public function getDbUser(): string
    {
        return $this->dbUser;
    }

    /**
     * @return string
     */
    public function getDbPass(): string
    {
        return $this->dbPass;
    }
}

Directory Contents

Dirs: 6 × Files: 20

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
php53 DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
php56 DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
php71 DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
php81 DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
php82 DIR
- drwxr-xr-x 2025-11-24 22:03:17
Edit Download
2.14 KB lrw-r--r-- 2025-11-24 12:16:52
Edit Download
15.28 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
2.04 KB lrw-r--r-- 2025-11-24 12:16:52
Edit Download
4.75 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
433 B lrw-r--r-- 2024-07-23 11:13:50
Edit Download
8.84 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
140 B lrw-r--r-- 2025-11-24 12:16:52
Edit Download
1.15 KB lrw-r--r-- 2022-08-04 05:37:50
Edit Download
3.36 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
1.58 KB lrw-r--r-- 2025-11-24 12:16:52
Edit Download
924 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
19.66 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
1.48 KB lrw-r--r-- 2022-07-29 11:47:24
Edit Download
1.96 KB lrw-r--r-- 2025-11-24 13:27:16
Edit Download
1.73 KB lrw-r--r-- 2023-05-16 07:15:40
Edit Download
1.02 MB lrw-r--r-- 2025-11-24 12:16:52
Edit Download
20.61 MB lrw-r--r-- 2025-11-24 12:16:52
Edit Download
518 B lrw-r--r-- 2023-05-16 07:15:40
Edit Download
4.23 KB lrw-r--r-- 2022-07-29 11:47:24
Edit Download
254 B lrw-r--r-- 2022-07-29 11:47:24
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).