Skip to content

Commit 0b1c5df

Browse files
committed
trying another storage with PhpConsole
1 parent 9a9a0bf commit 0b1c5df

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/class-wp-php-console.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,6 @@ public function init() {
407407
$_POST[ PhpConsole\Connector::POST_VAR_NAME ] = stripslashes_deep( $_POST[ PhpConsole\Connector::POST_VAR_NAME ] );
408408
}
409409

410-
// By default PHP Console uses PhpConsole\Storage\Session for postponed responses,
411-
// so all temporary data will be stored in $_SESSION.
412-
// But there is some problem with frameworks like WordPress that override PHP session handler.
413-
PhpConsole\Connector::setPostponeStorage( new PhpConsole\Storage\File( '/tmp/pc.data' ) );
414-
415410
$connector = PhpConsole\Connector::getInstance();
416411
$connector->setPassword( $password );
417412

0 commit comments

Comments
 (0)