One Hat Cyber Team
Your IP :
216.73.216.64
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
var
/
softaculous
/
weberp
/
Edit File:
config.php
<?php // User configurable variables //--------------------------------------------------- // Default language to use for the login screen and the setup of new users. // The users' language selection will override this $DefaultLanguage = '[[language]]'; // Default theme to use for the login screen and the setup of new users. // The users' theme selection will override this //$DefaultTheme = 'professional'; //$DefaultTheme = 'wood'; //$DefaultTheme = 'silverwolf'; //$DefaultTheme = 'gel'; $DefaultTheme = 'xenos'; // Whether to display the demo login and password or not on the login screen $AllowDemoMode = false; // Whether to display company logo in drop down list at login $ShowLogoAtLogin = true; // Email address of the system administrator $SysAdminEmail = '[[admin_email]]'; // The timezone of the business - this allows the possibility of having // the web-server in a different timezone than the business but in general // should always be set correctly //date_default_timezone_set('Europe/London'); //date_default_timezone_set('America/Los_Angeles'); //date_default_timezone_set('Asia/Shanghai'); //date_default_timezone_set('Australia/Melbourne'); //date_default_timezone_set('Australia/Sydney'); date_default_timezone_set('America/New_York'); // Connection information for the database // // $Host is the computer ip address or name where the database is located // If the web server is also the database server then use 'localhost' or '127.0.0.1' $Host = '[[softdbhost]]'; $DBPort = '3306'; // The type of db server being used //$DBType = 'mysqli'; // use for mysql server //$DBType = 'mariadb'; //$DBType = 'postgres'; // UNSUPPORTED $DBType = 'mysqli'; // Database user & password $DBUser = '[[softdbuser]]'; $DBPassword = '[[softdbpass]]'; // The DB character set. // For mysql/mariadb, utf8mb4 is preferred. If your database version does not support it, you can, depending on the // specific version, use the 'utf8' alias for 'utf8mb3' $DBCharset = 'utf8mb4'; // Login company selection // // If allowing selection of the company in the login window is not desired (e.g. in a hosted environment and seeing other // users would be distracting, create confusion or violate privacy expectations), change this option to 'ShowInputBox' // to have the user enter the company name, or 'Hide' to force using $DefaultCompany. // // If set to 'ShowSelectionBox', webERP examines each sub-directory in companies/ to determine all the companies // that can be logged into. //$AllowCompanySelectionBox = 'Hide'; //$AllowCompanySelectionBox = 'ShowInputBox'; $AllowCompanySelectionBox = 'ShowSelectionBox'; // If $AllowCompanySelectionBox is not 'ShowSelectionBox' use $DefaultDatabase as the default Company (will be // default in the login screen, otherwise the user must know the name of the company to log into). $DefaultDatabase = '[[softdb]]'; // The maximum time that a login session can be idle before automatic logout. // Currently only used for the API and for users for which the timeout is not defined in their personal settings. // Time is in seconds. 3600 seconds in an hour $SessionLifeTime = 3600; // The maximum time that a script can execute for before the web-server should terminate it. // Time is in seconds $MaximumExecutionTime = 120; // Setting to 12 or 24 determines the format of the clock display at the end of all screens $DefaultClock = 12; //$DefaultClock = 24; // Path to session files on server // // This can be useful for multi-host web servers where pages are serviced using load balancing servers, otherwise // the session can be lost when the load balancer picks a different server. To prevent that, this option tells the // server explicitly where to find the session files (which should be on a shared-access filesystem in that scenario). // // This option is also useful when a server has multiple webERP installs (e.g. to serve multiple webERP sites using // customized or different releases of code) and those can be accessed by the same client browser (e.g. by a user of // both webERP sites, or a common administrator of them). The solution is to specify different $SessionSavePath in // each installation's config.php // // If there is only one installation of webERP on the web-server - which can be used with many company databases (and // there is no load balancing difficulties to circumvent), this can be left commented. // // Note that it is also possible to configure PHP to store sessions in database-like services, such as redis or memcached. // In that case, this setting won't have any effect. // //$SessionSavePath = '/tmp'; // Set a specific session_name to avoid potential default session_name conflicts // with other apps using the same host. $SessionName = 'PHPSESSIDwebERPteam'; // $RootPath is used in most scripts to build links to assets and other scripts. // It is the path to the webERP directory as "seen" from the user's browser (excluding the hostname and port). // NOTE: In some windows installations, or when the web server sits behind a reverse proxy, the default, calculated value // doesn't work and the administrator must set this to a fixed path manually. // NOTE: no trailing slashes are necessary. // E.g. if the files are under the webserver root directory //$RootPath = ''; // E.g. 2 if the files are in the webERP folder inside the webserver root directory, then webERP is the rootpath //$RootPath = 'webERP'; $RootPath = htmlspecialchars(dirname($_SERVER['PHP_SELF']), ENT_QUOTES, 'UTF-8'); // Report all errors except E_NOTICE // (default value in php.ini for most installations, but it is forced here to be sure) // Note: turning on NOTICES will destroy things error_reporting(E_ALL && ~E_NOTICE); // For Development, use: //error_reporting(-1); // Debug information $Debug = 0; // No debug information will be shown. Recommended for production environments // $Debug = 1; // Simple debug information will be shown. Recommended for development environments // $Debug = 2; // Detailed debug information will be shown. Recommended for development environments // The real path to the symlinked part_pics directory, to prevent DomPDF from being unable to access images $SymlinkImageDir = ''; // if no symlink is used. // $SymlinkImageDir = '/var/www/vhosts/mydomain.com/dir/where/actually/images/are/stored'; // if symlink is used. // Installed companies // - see companies/dbname/Companies.php // END OF USER CONFIGURABLE VARIABLES if (isset($DirectoryLevelsDeep)) { for ($i = 0; $i < $DirectoryLevelsDeep; $i++) { $RootPath = mb_substr($RootPath, 0, strrpos($RootPath,'/')); } } if ($RootPath === '/' or $RootPath === '\\') { $RootPath = ''; }
Simpan