diff --git a/actions_add_remove.php b/actions_add_remove.php index 4394215..53086a0 100644 --- a/actions_add_remove.php +++ b/actions_add_remove.php @@ -20,6 +20,12 @@ You should have received a copy of the GNU General Public License along with Foobar. If not, see . */ +session_start(); +session_cache_limiter('nocache'); +$cache_limiter = session_cache_limiter(); + +if (!isset($_SESSION['loggedin'])) exit(); + require_once ('inc/db.php'); function Redirect_Servers ($server, $permanent = false) { diff --git a/getgraph.php b/getgraph.php index c63d313..2a94b76 100644 --- a/getgraph.php +++ b/getgraph.php @@ -1,4 +1,10 @@