Added InvoiceJob
This commit is contained in:
@@ -39,7 +39,12 @@ class mfBaseController
|
||||
if (!defined('MFUSELOGIN')) define('MFUSELOGIN', false);
|
||||
if (!defined('MFUSEMENU')) define('MFUSEMENU', false);
|
||||
|
||||
if (MFUSELOGIN) {
|
||||
$nologin = false;
|
||||
if(defined("MFBASE_BYPASS_LOGIN")) {
|
||||
$nologin = MFBASE_BYPASS_LOGIN;
|
||||
}
|
||||
|
||||
if (MFUSELOGIN && !$nologin) {
|
||||
// if protected area and not logged in, redirect to mfLogin
|
||||
if ($this->needlogin == true) {
|
||||
if (!mfLoginController::isLoggedIn()) {
|
||||
@@ -138,6 +143,10 @@ class mfBaseController
|
||||
|
||||
}
|
||||
|
||||
public function reconnectDB() {
|
||||
$this->db()->reconnect();
|
||||
}
|
||||
|
||||
public function __call($name, $params)
|
||||
{
|
||||
$methodname = false;
|
||||
|
||||
Reference in New Issue
Block a user