Skip to content

Commit

Permalink
Update bootstrapping to use Config
Browse files Browse the repository at this point in the history
  • Loading branch information
mAAdhaTTah committed Jan 8, 2018
1 parent 4613f51 commit 9da7e10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.php
Expand Up @@ -17,6 +17,8 @@
require 'includes/template-tags.php';


use Intraxia\Jaxion\Core\Config;
use Intraxia\Jaxion\Core\ConfigType;
use SplClassLoader as ClassLoader;
$tsClassLoader = new ClassLoader( 'DaveChild', 'Libraries/text-stats/src', false );
$tsClassLoader->filterFinalPath( 'DaveChild' . 'Libraries/text-stats/src', '' );
Expand All @@ -30,7 +32,7 @@
function pressforward( $prop = false ) {
$instance = new stdClass();
try {
$instance = new PressForward\Application( __FILE__ );
$instance = new PressForward\Application( new Config( ConfigType::PLUGIN, __FILE__ ) );
$instance->boot();
// var_dump('New Boot');
} catch (Intraxia\Jaxion\Core\ApplicationAlreadyBootedException $e) {
Expand Down

0 comments on commit 9da7e10

Please sign in to comment.