Files
newznab-tmux/www/admin/ajax_welcome_msg.php
T

16 lines
244 B
PHP

<?php
require_once './config.php';
// login check
$admin = new AdminPage;
$s = new Sites();
if (isset($_GET['action']))
{
if ($_GET['action'] == "1")
$s->updateItem("showadminwelcome", 1);
else
$s->updateItem("showadminwelcome", 0);
}