| 1 |
<?php |
| 2 |
/* |
| 3 |
* SOFTWARE LICENSE INFORMATION |
| 4 |
* |
| 5 |
* Copyright (c) 2017 Buttonizer, all rights reserved. |
| 6 |
* |
| 7 |
* This file is part of Buttonizer |
| 8 |
* |
| 9 |
* For detailed information regarding to the licensing of |
| 10 |
* this software, please review the license.txt or visit: |
| 11 |
* https://buttonizer.pro/license/ |
| 12 |
*/ |
| 13 |
|
| 14 |
define('BUTTONIZER_NAME', 'buttonizer'); |
| 15 |
define('BUTTONIZER_DIR', dirname(__FILE__)); |
| 16 |
define('BUTTONIZER_APP_DIR', __DIR__ . "/app"); |
| 17 |
define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR)); |
| 18 |
define('BUTTONIZER_PLUGIN_DIR', __FILE__); |
| 19 |
define("BUTTONIZER_BASE_NAME", plugin_basename(BUTTONIZER_PLUGIN_FILE)); |
| 20 |
define('BUTTONIZER_LAST_MIGRATION', 7); |
| 21 |
define('BUTTONIZER_LAST_TOUR_UPDATE', 250); |
| 22 |
define('BUTTONIZER_LAST_CHANGELOG_UPDATE', 260); |
| 23 |
|
| 24 |
// From CDNJS: https://cdnjs.com/libraries/font-awesome |
| 25 |
define('FONTAWESOME_CURRENT_VERSION', '5.15.4'); |
| 26 |
define('FONTAWESOME_CURRENT_INTEGRITY', 'sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=='); |
| 27 |
|
| 28 |
define("FONTAWESOME_6_CURRENT_VERSION", '6.1.1'); |
| 29 |
define('FONTAWESOME_6_CURRENT_INTEGRITY', 'sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=='); |
| 30 |
|
| 31 |
if (!defined("BUTTONIZER_API_URI")) { |
| 32 |
define("BUTTONIZER_API_URI", "https://api.buttonizer.io"); |
| 33 |
} |
| 34 |
|
| 35 |
// DEBUG ONLY |
| 36 |
if (defined("BUTTONIZER_DEBUG") && BUTTONIZER_DEBUG) { |
| 37 |
ini_set('display_errors', 1); |
| 38 |
ini_set('display_startup_errors', 1); |
| 39 |
error_reporting(E_ERROR); |
| 40 |
} |
| 41 |
|
| 42 |
# No script kiddies |
| 43 |
defined('ABSPATH') or die('No script kiddies please!'); |
| 44 |
|