File "test_wp_tables.php"

Full path: /home/dora/public_html/wp-content/plugins/woocommerce-bsalev2/test/test_wp_tables.php
File size: 356 bytes
MIME-type: --
Charset: utf-8

<?php

/* * test de emitir dte dede Wp, sin em itirlo */
require_once dirname(__FILE__) . '/../lib/Autoload.php';

if( !current_user_can(BSALE_CAPABILITY_CONFIG_INTEGRAC) )
{
    echo('user not allowed!!');
    exit;
}

if( !isset($_REQUEST['param']) || $_REQUEST['param'] !== 'yes' )
{
    die("no allowed");
}
$OCDB = new OCDB();

$OCDB->setupTables();