arkadaşlar sitemi daha performanslı çalıştırabilmek için Cpanel'den PHP-FPM'yi etkinleştirdim fakat siteye girince en üstte bir satır hata kodu oluyor:
	
	
	
		
ilgili log.php'ye gittiğimde 6. satır şu şekilde: $this->handle = fopen(DIR_LOGS . $filename, 'a');
	
	
	
		
ne yapmam gerek?[/quote]
			
			
		Kod:
	
	Warning: fopen(/my_path/system/logs/): failed to open stream: Is a directory in /my_path/system/library/log.php on line 6ilgili log.php'ye gittiğimde 6. satır şu şekilde: $this->handle = fopen(DIR_LOGS . $filename, 'a');
		Kod:
	
	class Log {
    private $handle;
    public function __construct($filename) {
        //this is line 6
        $this->handle = fopen(DIR_LOGS . $filename, 'a');
    }
    public function write($message) {
        fwrite($this->handle, date('Y-m-d G:i:s') . ' - ' . print_r($message, true) . "\n");
    }
    public function __destruct() {
        fclose($this->handle);
    }
}ne yapmam gerek?[/quote]
