Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #18 from themightychris/patch/autoloading
Browse files Browse the repository at this point in the history
autoloader compatibility issues
  • Loading branch information
Seldaek committed Apr 19, 2014
2 parents 4cc6039 + 8cdc0e0 commit 195556a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Dwoo/Compiler.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

include dirname(__FILE__) . '/Compilation/Exception.php';

/**
* default dwoo compiler class, compiles dwoo templates into php
*
Expand Down Expand Up @@ -1703,7 +1701,7 @@ protected function parseFunction($in, $from, $to, $parsingParams = false, $curBl
if (strstr($func, '::') !== false && $this->securityPolicy !== null && $this->securityPolicy->isMethodAllowed(explode('::', strtolower($func))) !== true) {
throw new Dwoo_Security_Exception('Call to a disallowed php function : '.$func);
}
$pluginType = Dwoo::NATIVE_PLUGIN;
$pluginType = Dwoo_Core::NATIVE_PLUGIN;
} else {
$pluginType = $this->getPluginType($func);
}
Expand Down

0 comments on commit 195556a

Please sign in to comment.