Updated installer
Added Website and Game models Updted config loading Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
fcd1f5b740
commit
5393be4daf
39 changed files with 779 additions and 661 deletions
|
|
@ -4,4 +4,22 @@ class Wootook_Empire_Exception_Exception
|
|||
extends Exception
|
||||
implements Wootook_Empire_Exception
|
||||
{
|
||||
protected $_previous = null;
|
||||
|
||||
public function __construct($message = null, $code = null, $previous = null)
|
||||
{
|
||||
if (PHP_VERSION_ID >= 50300) {
|
||||
parent::__construct($message, $code, $previous);
|
||||
} else {
|
||||
parent::__construct($message, $code);
|
||||
$this->_previous = $previous;
|
||||
}
|
||||
}
|
||||
|
||||
public function __call($method, $params)
|
||||
{
|
||||
if (strtolower($method) == 'getprevious') {
|
||||
return $this->_previous;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,4 +4,22 @@ class Wootook_Empire_Exception_RuntimeException
|
|||
extends RuntimeException
|
||||
implements Wootook_Empire_Exception
|
||||
{
|
||||
protected $_previous = null;
|
||||
|
||||
public function __construct($message = null, $code = null, $previous = null)
|
||||
{
|
||||
if (PHP_VERSION_ID >= 50300) {
|
||||
parent::__construct($message, $code, $previous);
|
||||
} else {
|
||||
parent::__construct($message, $code);
|
||||
$this->_previous = $previous;
|
||||
}
|
||||
}
|
||||
|
||||
public function __call($method, $params)
|
||||
{
|
||||
if (strtolower($method) == 'getprevious') {
|
||||
return $this->_previous;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue