File "Controller.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/joynala/web-installer/src/Controllers/Controller.php
File size: 647 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
namespace Abedin\WebInstaller\Controllers;
class Controller
{
/**
* @property bool $isPublish
* check the views is publis or not
*/
public $isPublish = false;
/**
* @property bool $hasConfigFile
* check has config files (installer.php) is exists or not
*/
public $hasConfigFile = false;
/**
* assign bool which i check
* @property $hasConfigFile | $isPublish
*/
public function __construct()
{
$this->isPublish = is_dir(base_path('resources/views/vendor/web-installer'));
$this->hasConfigFile = is_file( base_path('config/installer.php'));
}
}