Skip to content
Snippets Groups Projects
Commit 267c0a0f authored by xamgore's avatar xamgore
Browse files

Improved static code analysis

Actually, renamed system wrapper class Twig to Kotwig.
parent 8726363e
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ class Kohana_Twig extends View {
*/
public static function factory($file = NULL, array $data = NULL)
{
return new Twig($file, $data);
return new Kotwig($file, $data);
}
/**
......
<?php defined('SYSPATH') or die('No direct script access.');
class Twig extends Kohana_Twig {}
class Kotwig extends Kohana_Twig {}
<?php defined('SYSPATH') or die('No direct script access.');
define('TWIGPATH', rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR);
Twig::init();
Kotwig::init();
......@@ -9,7 +9,7 @@
* @copyright (c) 2009 Woody Gilk
* @license MIT
*/
abstract class View_MPDF_Core extends Twig {
abstract class View_MPDF_Core extends Kotwig {
protected $mpdf = NULL;
protected $view_file = NULL;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment