From: Michael Vogel Date: Sat, 3 May 2014 09:53:48 +0000 (+0200) Subject: Pumpio: Showing the side menu in the connection process. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1810b5e72f7f95fe0f99b685d3a4b192a16a1cf;p=friendica-addons.git Pumpio: Showing the side menu in the connection process. --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 0c7f3172..367879e6 100755 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -39,10 +39,8 @@ function pumpio_content(&$a) { return ''; } - if (function_exists("apc_delete")) { - $toDelete = new APCIterator('user', APC_ITER_VALUE); - apc_delete($toDelete); - } + require_once("mod/settings.php"); + settings_init($a); if (isset($a->argv[1])) switch ($a->argv[1]) { @@ -323,7 +321,7 @@ function pumpio_settings_post(&$a,&$b) { set_pconfig(local_user(),'pumpio','mirror',$_POST['pumpio_mirror']); set_pconfig(local_user(),'pumpio','post_by_default',intval($_POST['pumpio_bydefault'])); - header("Location: ".$a->get_baseurl()."/pumpio/connect"); + //header("Location: ".$a->get_baseurl()."/pumpio/connect"); } } }