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