<?php
/**
 * OnePress Licensing
 * 
 * @author Paul Kashtanoff <paul@byonepress.com>
 * @copyright (c) 2013, OnePress Ltd
 * 
 * @package core 
 * @since 1.0.0
 */

// Checks if the one is already loaded.
// We prevent to load the same version of the module twice.
if (defined('ONP_LICENSING_325_LOADED')) return;
define('ONP_LICENSING_325_LOADED', true);

// Absolute path and URL to the files and resources of the module.
define('ONP_LICENSING_325_DIR', dirname(__FILE__));
define('ONP_LICENSING_325_URL', plugins_url(null,  __FILE__ ));

include(ONP_LICENSING_325_DIR. '/licensing.php');
if ( !is_admin() ) return;
include(ONP_LICENSING_325_DIR. '/includes/license-manager.class.php');