uawdijnntqw1x1x1
IP : 3.142.200.252
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
sudancam.sd.1
/
..
/
system
/
library
/
googleshopping
/
log.php
/
/
<?php namespace googleshopping; /** * Log class */ class Log { private $handle; /** * Constructor * * @param string $filename */ public function __construct($filename, $max_size = 8388608) { $file = DIR_LOGS . $filename; clearstatcache(true); if ((!file_exists($file) && !is_writable(DIR_LOGS)) || (file_exists($file) && !is_writable($file))) { // Do nothing, as we have no permissions return; } if (file_exists($file) && filesize($file) >= $max_size) { $mode = 'wb'; } else { $mode = 'ab'; } $this->handle = @fopen(DIR_LOGS . $filename, $mode); } /** * * * @param string $message */ public function write($message) { if (is_resource($this->handle)) { fwrite($this->handle, date('Y-m-d G:i:s') . ' - ' . print_r($message, true) . "\n"); } } /** * * */ public function __destruct() { if (is_resource($this->handle)) { fclose($this->handle); } } }
/home/sudancam/public_html/../.trash/sudancam.sd.1/../system/library/googleshopping/log.php