mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Removing unused property.
Removing broken dispatch pass-though method.
This commit is contained in:
parent
25682db434
commit
8149e4f049
1 changed files with 3 additions and 11 deletions
|
@ -40,23 +40,15 @@ App::uses('Debugger', 'Utility');
|
|||
*/
|
||||
class Dispatcher {
|
||||
|
||||
/**
|
||||
* Response object used for asset/cached responses.
|
||||
*
|
||||
* @var CakeResponse
|
||||
*/
|
||||
public $response = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $base The base directory for the application. Writes `App.base` to Configure.
|
||||
*/
|
||||
public function __construct($url = null, $base = false) {
|
||||
public function __construct($base = false) {
|
||||
if ($base !== false) {
|
||||
Configure::write('App.base', $base);
|
||||
}
|
||||
if ($url !== null) {
|
||||
$this->dispatch($url);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue