<?php
/*
Plugin Name: Dolphy
Plugin URI: https://www.cyberpull.com/wiki/cms/wordpress/plugins/dolphy
Description: Dolphy Plugin is a plugin by Cyberpull Technologies to help clients customize their website to meet their needs.
Version: 1.3.0
Author: Cyberpull Technologies
Author URI: https://www.cyberpull.com
License: GPLv2 or later
Text Domain: dolphy
*/

defined('ABSPATH') or die('Access Denied!');

define('DOLPHY_SCRIPT_VERSION', '1.3.0');

define('DOLPHY_PLUGIN', 1);
define('DOLPHY_FILE', str_replace('\\', '/', __FILE__));
define('DOLPHY_PLUGIN_ROOT', dirname(DOLPHY_FILE));
define('DOLPHY_PLUGIN_URL', substr(plugin_dir_url(DOLPHY_FILE), 0, -1));
define('DOLPHY_NAME', basename(DOLPHY_PLUGIN_URL));
define('DOLPHY_PLUGIN_NAME', DOLPHY_NAME.'/'.DOLPHY_NAME.'.php');

define('DOLPHY_NS_PREFIX', 'Dolphy\\Plugin\\');
define('DOLPHY_NS_PREFIX_LENGTH', strlen(DOLPHY_NS_PREFIX));


define('DOLPHY_DONATE_URL', 'https://paystack.com/pay/dolphy');
define('DOLPHY_WIKI_URL', 'https://www.cyberpull.com/wiki/cms/wordpress/plugins/dolphy');

// VENDORS
define('DOLPHY_VENDOR', DOLPHY_PLUGIN_ROOT.'/vendor');

// TEMPLATES
define('DOLPHY_TEMPLATES', DOLPHY_PLUGIN_ROOT.'/templates');
define('DOLPHY_TEMPLATES_ERRORS', DOLPHY_TEMPLATES.'/errors');
define('DOLPHY_TEMPLATES_ACCESS', DOLPHY_TEMPLATES.'/access');

// SETTINGS
define('DOLPHY_SETTINGS', DOLPHY_PLUGIN_ROOT.'/settings');
define('DOLPHY_SETTINGS_INCLUDES', DOLPHY_SETTINGS.'/includes');
define('DOLPHY_SETTINGS_PAGES', DOLPHY_SETTINGS.'/pages');
define('DOLPHY_SETTINGS_ERRORS', DOLPHY_SETTINGS.'/errors');

// ASSETS
define('DOLPHY_ASSETS', DOLPHY_PLUGIN_URL.'/assets');
define('DOLPHY_ICON_URL', DOLPHY_ASSETS.'/images/icon.png');
define('DOLPHY_LOGO_URL', DOLPHY_ASSETS.'/images/logo.png');

// AJAX
define('DOLPHY_AJAX_PATH', '/dolphy-ajax/');
define('DOLPHY_AJAX_URL', site_url(DOLPHY_AJAX_PATH));

// OTHER URLs
define('DOLPHY_SIGNIN_PATH', '/login/');
define('DOLPHY_SIGNIN_URL', site_url(DOLPHY_SIGNIN_PATH));

define('DOLPHY_SIGNUP_PATH', '/signup/');
define('DOLPHY_SIGNUP_URL', site_url(DOLPHY_SIGNUP_PATH));

define('DOLPHY_VERIFYEMAIL_PATH', '/verify-email/');
define('DOLPHY_VERIFYEMAIL_URL', site_url(DOLPHY_VERIFYEMAIL_PATH));

define('DOLPHY_FORGOTPASSWORD_PATH', '/forgot-password/');
define('DOLPHY_FORGOTPASSWORD_URL', site_url(DOLPHY_FORGOTPASSWORD_PATH));

define('DOLPHY_RESETPASSWORD_PATH', '/reset-password/');
define('DOLPHY_RESETPASSWORD_URL', site_url(DOLPHY_RESETPASSWORD_PATH));

require_once __DIR__.'/core/bootstrap.php';
