Attach events only for board controller
This commit is contained in:
@@ -101,6 +101,16 @@ abstract class Base
|
|||||||
$this->template = new Template;
|
$this->template = new Template;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public function __destruct()
|
||||||
|
{
|
||||||
|
// $this->container['logger']->addDebug(var_export($this->container['db']->getLogMessages(), true));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load automatically models
|
* Load automatically models
|
||||||
*
|
*
|
||||||
@@ -151,7 +161,9 @@ abstract class Base
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Attach events
|
// Attach events
|
||||||
$this->attachEvents();
|
if ($controller === 'board') {
|
||||||
|
$this->attachEvents();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ From the repository (development version)
|
|||||||
You must install [composer](https://getcomposer.org/) to use this method.
|
You must install [composer](https://getcomposer.org/) to use this method.
|
||||||
|
|
||||||
1. `git clone https://github.com/fguillot/kanboard.git`
|
1. `git clone https://github.com/fguillot/kanboard.git`
|
||||||
2. `composer update`
|
2. `composer install`
|
||||||
3. Go to the third step just above
|
3. Go to the third step just above
|
||||||
|
|
||||||
Note: This method will install the **current development version**, use at your own risk.
|
Note: This method will install the **current development version**, use at your own risk.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ From the repository (development version)
|
|||||||
|
|
||||||
1. Close your session (logout)
|
1. Close your session (logout)
|
||||||
2. `git pull`
|
2. `git pull`
|
||||||
3. `composer update`
|
3. `composer install`
|
||||||
3. Login and check if everything is ok
|
3. Login and check if everything is ok
|
||||||
|
|
||||||
Note: This method will install the **current development version**, use at your own risk.
|
Note: This method will install the **current development version**, use at your own risk.
|
||||||
|
|||||||
Reference in New Issue
Block a user