You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* _pageExpandAjax
*/
public static function _pageExpandAjax()
{
if (Request::post('slug')) {
if (Security::check(Request::post('token'))) {
$pages = new Table('pages');
$pages->updateWhere('[slug="'.Request::post('slug').'"]', array('expand' => Request::post('expand')));
Request::shutdown();
} else { die('12Request was denied because it contained an invalid security token. Please refresh the page and try again.'); }
}
}
Исправьте, а то если кто в своем плагине передаст Request::post('slug'), получит ошибку
Request was denied because it contained an invalid security token. Please refresh the page and try again.
The text was updated successfully, but these errors were encountered:
Исправьте, а то если кто в своем плагине передаст Request::post('slug'), получит ошибку
Request was denied because it contained an invalid security token. Please refresh the page and try again.
The text was updated successfully, but these errors were encountered: