* * Jonathon Byrd is a freelance developer for hire. Jonathon has owned many companies and * understands the importance of website credibility. Contact Jonathon Today. * */ //will be requiring this if (!defined('_EXEC')) { define('_EXEC', true); } require_once dirname(__FILE__) . '/defines.php'; require_once dirname(__FILE__) . DS . 'helper.php'; ini_set('memory_limit', '200M'); if (!isset($wp_did_header)) { $wp_did_header = true; if (is_file(byrd_rootfolder(__FILE__) . DS . 'wp-load.php')) { require_once byrd_rootfolder(__FILE__) . DS . 'wp-load.php'; require_once ABSPATH . WPINC . DS . 'template-loader.php'; } else { trigger_error('Problem loading Wordpress Framework.'); } } //loading resources require_once dirname(__FILE__) . DS . 'request.php'; require_once dirname(__FILE__) . DS . 'object.php'; require_once dirname(__FILE__) . DS . 'capabilities.class.php'; require_once dirname(__FILE__) . DS . 'role.class.php'; require_once dirname(__FILE__) . DS . 'properties.php'; require_once dirname(__FILE__) . DS . 'configclass.php'; require_once dirname(__FILE__) . DS . 'siteclass.php'; require_once dirname(__FILE__) . DS . 'factory.php'; if (!class_exists('Email')) {
<?php /** * @subpackage : Wordpress * @author : Jonathon Byrd * @copyright : All Rights Reserved, Byrd Inc. 2009 * @link : http://www.jonathonbyrd.com * * Jonathon Byrd is a freelance developer for hire. Jonathon has owned many companies and * understands the importance of website credibility. Contact Jonathon Today. * */ if (!defined('WP_USE_THEMES')) { define('WP_USE_THEMES', false); } require_once dirname(__FILE__) . '/includes/framework.php'; require_once byrd_rootfolder() . '/wp-blog-header.php'; ?> <?php get_header(); ?> <BR/><BR/> <h2>Subscription Confirmation</h2> <p>Thank you for your subscription, you will be receiving an email with your account information shortly.</p> <BR/><BR/> <?php get_footer();
function byrd_hash_password($password) { global $wp_hasher; if (empty($wp_hasher)) { require_once byrd_rootfolder(__FILE__) . '/wp-includes/class-phpass.php'; // By default, use the porTable hash from phpass $wp_hasher = new PasswordHash(8, TRUE); } return $wp_hasher->HashPassword($password); }
/** * requires the php file for inclusion */ function loadTheme($method, $arguments) { $page = strtolower(substr($method, 3)); //loading the wordpress themes if (!defined('WP_USE_THEMES')) { define('WP_USE_THEMES', false); } $wpblogheader = byrd_rootfolder() . DS . 'wp-blog-header.php'; if (is_file($wpblogheader)) { require_once $wpblogheader; } //loading the requested file return $this->byrd_loadfile(str_replace(DS . 'includes', '', dirname(__FILE__)) . DS . $page . '.php'); }