Initial commit
[2ch-be.git] / dev-test / mb / onoff.php
blobf047dd60414422864fcc012fb0bc642aea663943
1 <?php
2 if (!isset($_COOKIE['DMDM']) && !isset($_COOKIE['MDMD'])) {
3 echo "NG";
4 exit;
6 include("../encrypt.php");
7 $notipath = new Message;
8 $npath = $notipath->GetPath();
9 $npath = $npath."/noti.txt";
10 echo trim(file_get_contents($npath));
11 //file_put_contents($npath, $_POST['toggle']);