PATH:
home
/
ediuae
/
accubooksuae.com
/
wp-content
/
plugins
/
wpvivid-backuprestore
/
includes
<?php if (!defined('WPVIVID_PLUGIN_DIR')){ die; } class WPvivid_restore_data { public $restore_data_file; public $restore_log_file; public $restore_log=false; public $restore_cache=false; public function __construct() { $dir=WPvivid_Setting::get_backupdir(); $this->restore_data_file= WP_CONTENT_DIR.DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR.'wpvivid_restoredata'; $this->restore_log_file= WP_CONTENT_DIR.DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR.'wpvivid_restore_log.txt'; } public function write_log($message,$type) { if($this->restore_log===false) { $this->restore_log=new WPvivid_Log(); $this->restore_log->OpenLogFile($this->restore_log_file,'has_folder'); } clearstatcache(); if(filesize($this->restore_log_file)>4*1024*1024) { $this->restore_log->CloseFile(); wp_delete_file($this->restore_log_file); $this->restore_log=null; $this->restore_log=new WPvivid_Log(); $this->restore_log->OpenLogFile($this->restore_log_file,'has_folder'); } $this->restore_log->WriteLog($message,$type); } public function get_log_content() { $file =fopen($this->restore_log_file,'r'); if(!$file) { return ''; } $buffer=''; while(!feof($file)) { $buffer .= fread($file,1024); } fclose($file); return $buffer; } }
[+]
mu-plugins
[-] class-wpvivid-function-realize.php
[edit]
[-] class-wpvivid-error-log.php
[edit]
[+]
..
[-] class-wpvivid-crypt.php
[edit]
[+]
snapshot
[-] class-wpvivid-tab-page-container.php
[edit]
[-] class-wpvivid-additional-db-method.php
[edit]
[-] class-wpvivid-backuplist.php
[edit]
[-] class-wpvivid-mysqldump.php
[edit]
[-] class-wpvivid-migrate.php
[edit]
[-] class-wpvivid-restore-data.php
[edit]
[-] class-wpvivid-taskmanager.php
[edit]
[-] class-wpvivid-compress-default.php
[edit]
[-] class-wpvivid-zipclass.php
[edit]
[-] class-wpvivid.php
[edit]
[-] class-wpvivid-db-method.php
[edit]
[-] index.php
[edit]
[+]
customclass
[-] class-wpvivid-downloader.php
[edit]
[+]
new_backup
[-] class-wpvivid-interface-mainwp.php
[edit]
[-] class-wpvivid-backup-uploader.php
[edit]
[-] class-wpvivid-remote-collection.php
[edit]
[-] class-wpvivid-backup-database.php
[edit]
[-] class-wpvivid-backuptoremote.php
[edit]
[-] class-wpvivid-upload.php
[edit]
[+]
staging
[-] class-wpvivid-export-import.php
[edit]
[+]
upload-cleaner
[+]
zip
[-] class-wpvivid-mysqldump-method.php
[edit]
[-] class-wpvivid-public-interface.php
[edit]
[-] class-wpvivid-exporter.php
[edit]
[-] class-wpvivid-mail-report.php
[edit]
[-] class-wpvivid-i18n.php
[edit]
[-] class-wpvivid-importer.php
[edit]
[-] class-wpvivid-log.php
[edit]
[-] class-wpvivid-tools.php
[edit]
[+]
lib2
[-] class-wpvivid-backup.php
[edit]
[-] class-wpvivid-backup-site.php
[edit]
[-] class-wpvivid-setting.php
[edit]
[+]
lib
[-] class-wpvivid-schedule.php
[edit]