PATH:
home
/
ediuae
/
accubooksuae.com
/
wp-content
/
plugins
/
wpvivid-backuprestore
/
includes
<?php if (!defined('WPVIVID_PLUGIN_DIR')){ die; } require_once WPVIVID_PLUGIN_DIR . '/includes/class-wpvivid-zipclass.php'; class WPvivid_Backup_Site { private $tools_collection=array(); public function __construct() { add_filter('wpvivid_tools_register', array($this, 'init_tools'),10); $this->tools_collection=apply_filters('wpvivid_tools_register',$this->tools_collection); $this->load_hooks(); } public function init_tools($tools_collection){ $tools_collection['zip'][WPVIVID_COMPRESS_ZIPCLASS] = 'WPvivid_ZipClass'; return $tools_collection; } public function get_tools($type){ if(array_key_exists($type,$this->tools_collection)) { foreach ($this -> tools_collection[$type] as $class_name){ if(class_exists($class_name)){ $object = new $class_name(); $last_error = $object -> getLastError(); if(empty($last_error)) return $object; } } } $class_name = $this -> tools_collection['zip'][WPVIVID_COMPRESS_ZIPCLASS]; $object = new $class_name(); $last_error = $object -> getLastError(); if(empty($last_error)){ return $object; }else{ return array('result' => WPVIVID_FAILED,'error' => $last_error); } } public function load_hooks(){ foreach ($this -> tools_collection as $compressType){ foreach ($compressType as $className){ $object = new $className(); } } } }
[+]
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]