Created
June 6, 2016 08:01
-
-
Save atsu666/002246c42c61d73033ce8b51a3d4dd9c to your computer and use it in GitHub Desktop.
ACMS_POST_2GET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ACMS_POST_2GET extends ACMS_POST | |
{ | |
var $isCacheDelete = false; | |
function post() | |
{ | |
$Post = new Field($this->Post); | |
$Cookie =& Field::singleton('cookie'); | |
if ( SESSION_USE_COOKIE and $Cookie->get(SESSION_NAME) ) { | |
$Post->delete(SESSION_NAME); | |
} | |
if ( $Post->get('nocache') === 'yes' ) { | |
$Post->add('query', 'nocache'); | |
} | |
return $this->redirect(acmsLink($this->getUriObject($Post), true, true)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment