haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
home
/
sc1jaqa5103
/
dev.puv-editions.fr
/
wp-content
/
plugins
/
import-onix
/
includes
/
Filename :
BaseController.php
back
Copy
<?php namespace Firstinfo\Import; class BaseController { /** @var string */ public $pluginPath; public $viewPath; /** @var string */ public $pluginUrl; /** @var string */ public $plugin; public function __construct() { $this->pluginPath = plugin_dir_path(__DIR__); $this->viewPath = plugin_dir_path( __FILE__ ) . '/View'; $this->pluginUrl = plugin_dir_url(__DIR__); $this->plugin = plugin_basename( dirname( __FILE__ , 2) ) . '/Firstinfo.php'; } /** * @param string $viewFile */ protected function render($viewFile, $vars=null) { include $this->viewPath . $viewFile; } }