You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Share code for cascading ajax flag
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
@@ -97,13 +97,10 @@ class Response
|
||||
$this->_footer = new Footer();
|
||||
|
||||
$this->_isSuccess = true;
|
||||
$this->_isAjax = false;
|
||||
$this->_isDisabled = false;
|
||||
if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
|
||||
$this->_isAjax = true;
|
||||
}
|
||||
$this->_header->setAjax($this->_isAjax);
|
||||
$this->_footer->setAjax($this->_isAjax);
|
||||
$this->setAjax(
|
||||
isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true
|
||||
);
|
||||
$this->_CWD = getcwd();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user