Skip to content

Commit

Permalink
Merge pull request #15 from iumio/1.0
Browse files Browse the repository at this point in the history
1.0.4
  • Loading branch information
danyRafina committed Jul 24, 2018
2 parents 3b147ce + e76944b commit 6983c6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Core/Additional/EngineTemplate/SmartyEngineTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ final protected function registerBasePlugins():int

self::$instance->registerPlugin(
\Smarty::PLUGIN_FUNCTION,
'rt',
array("iumioFramework\Core\Additional\EngineTemplate\ViewBasePlugin", "rtfile")
'mercure',
array("iumioFramework\Core\Additional\EngineTemplate\ViewBasePlugin", "mercurefile")
);

return (1);
Expand Down
2 changes: 1 addition & 1 deletion Core/Additional/EngineTemplate/ViewBasePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ final public static function cssmanager(array $params)
* @return string return js routing file
* @throws \Exception
*/
final public static function rtfile()
final public static function mercurefile()
{
$env = FrameworkEnvironment::getFileEnv(FEnv::get("framework.env"));
if (strpos($_SERVER['REQUEST_URI'], $env) == false) {
Expand Down

0 comments on commit 6983c6c

Please sign in to comment.