Exemple #1
0
 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');
     }
 }
Exemple #2
0
 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);
     }
 }
Exemple #3
0
 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']);
 }
Exemple #4
0
 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);
     }
 }
Exemple #5
0
 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']);
 }
Exemple #6
0
 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');
 }
Exemple #7
0
 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();
 }