PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
wyz-toolkit
/
wp-csv
<?php if ( !class_exists( 'CPK_WPCSV_Debug_Log' ) ) { class CPK_WPCSV_Debug_Log { private $file_path = ''; private $enabled = FALSE; public function __construct( $file_path ) { $this->file_path = $file_path; } public function enable( ) { $this->enabled = TRUE; } public function disable( ) { $this->enabled = FALSE; } public function clear( ) { if ( file_exists( $this->file_path ) ) { unlink( $this->file_path ); } } public function add( $label, $data ) { if ( !$this->enabled ) return; if ( is_array( $data ) || is_object( $data ) ) { $value = print_r( $data, TRUE ); } else { $value = $data; } $date = date( 'Y-m-d H:i:s', current_time( 'timestamp' ) ); $msg = "[ {$date} ] {$label}: {$value}\n"; error_log( $msg, 3, $this->file_path ); } } # End class CPK_WPCSV_Debug_Log } # End if
[+]
..
[+]
css
[-] export_view.php
[edit]
[-] CPK_WPCSV_Log_Model.php
[edit]
[-] shortcode_view.php
[edit]
[-] CPK_WPCSV_Export_Queue_Model.php
[edit]
[-] readme.txt
[edit]
[-] report_view.php
[edit]
[-] import_view.php
[edit]
[-] CPK_WPCSV_File_Utility.php
[edit]
[-] sidebar.php
[edit]
[-] CPK_WPCSV_View.php
[edit]
[+]
lang
[-] gpl-2.0.txt
[edit]
[-] CPK_WPCSV_Engine.php
[edit]
[-] CPK_WPCSV_Debug_Log.php
[edit]
[-] CPK_WPCSV_CSV.php
[edit]
[-] layout.php
[edit]
[-] wp-csv.php
[edit]
[+]
js
[-] CPK_WPCSV_Posts_Model.php
[edit]
[-] settings_view.php
[edit]
[-] CPK_WPCSV_Html_Components.php
[edit]