HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/digisferach.sumar.com.py/wp-content/plugins/peepso/classes/error.php
<?php

class PeepSoError
{
	public function __construct($err_msg)
	{
        if (!PeepSo::get_option_new('system_enable_logging')) {
            return (FALSE);
        }

        $err_msg = maybe_serialize($err_msg);

        $message = $err_msg."\n";

        $peepso_dir = PeepSo::get_option('site_peepso_dir', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'peepso', TRUE);

        $message = current_time('Y-m-d H:i:s ', 1) . $message;

        $file = get_option('peepso_debug_file');
        if (!$file) {
            $file = md5(microtime() . $_SERVER['HTTP_HOST']);
            update_option('peepso_debug_file', $file);
        }

        error_log ( "\n".$message, 3, $peepso_dir.'/'.$file.'.log');
	}
}


// EOF