no more singleton-factory, kthnxby
Peter Molnar hello@petermolnar.eu
Thu, 26 Jun 2014 11:02:13 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
wp-ffpc-backend.php
→
wp-ffpc-backend.php
@@ -57,7 +57,7 @@ /* these are the list of the cookies to look for when looking for logged in user */
$this->cookies = array ( 'comment_author_' , 'wordpressuser_' , 'wp-postpass_', 'wordpress_logged_in_' ); /* make utilities singleton */ - $this->utilities = PluginUtils::S(); + $this->utilities = new PluginUtils(); /* map the key with the predefined schemes */ $ruser = isset ( $_SERVER['REMOTE_USER'] ) ? $_SERVER['REMOTE_USER'] : '';