public function __construct() { parent::__construct(); $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); $this->load->helper('print_helper'); if (is_printer_busy()) { redirect('dashboard'); } }
public function __construct() { parent::__construct(); $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); $this->load->helper('print_helper'); if (is_printer_busy()) { $this->layout->set_printer_busy(true); } }
public function __construct() { parent::__construct(); $this->load->helper('print_helper'); /** IF PRINTER IS BUSY I CANT CHANGE SETTINGS */ if (is_printer_busy('scan')) { redirect('dashboard'); } $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); }
public function __construct() { parent::__construct(); $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); $this->load->helper('print_helper'); /** IF PRINTER IS BUSY I CANT CHANGE SETTINGS */ if (is_printer_busy()) { $this->layout->set_printer_busy(true); } }
public function __construct() { parent::__construct(); //FLUSH SERIAL PORT BUFFER INPUT/OUTPUT $this->load->helper('print_helper'); /** IF PRINTER IS BUSY I CANT JOG */ if (is_printer_busy()) { redirect('dashboard'); } $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); }
public function __construct() { parent::__construct(); $this->load->helper('print_helper'); /** IF PRINTER IS BUSY I CANT CHANGE SETTINGS */ if (is_printer_busy()) { //redirect('dashboard'); $this->layout->set_printer_busy(true); } $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); shell_exec('sudo rm -r download'); }
public function __construct() { parent::__construct(); $this->load->helper('print_helper'); /** IF PRINTER IS BUSY I CANT CHANGE SETTINGS */ if (is_printer_busy()) { redirect('dashboard'); } $this->lang->load($_SESSION['language']['name'], $_SESSION['language']['name']); /** LOAD HELPER */ $this->load->helper('update_helper'); $this->_fabui_local = myfab_get_local_version(); $this->_marlin_local = marlin_get_local_version(); }