Created
October 11, 2019 01:44
-
-
Save jjab2020/52c1811a8af889edc9e11de5cd84a24a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
use Coolpraz\PhpBlade\PhpBlade; | |
class MY_Controller extends CI_Controller { | |
protected $views = APPPATH . 'views'; | |
protected $cache = APPPATH . 'cache'; | |
protected $blade; | |
public function __construct(){ | |
parent::__construct(); | |
$this->blade = new PhpBlade($this->views, $this->cache); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment