2 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3 //(c) 2012 YANMAH2 project
4 //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html).
7 define("HELLO","world");
8 require_once "product_definitions.php";
9 require_once "configurable_variables.php";
10 require_once "common_functions.php";
13 require_once 'init_processor.php';
14 // var_dump($_SESSION);
17 $selfcall = htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES);
18 $safequery = htmlspecialchars($_SERVER["QUERY_STRING"], ENT_QUOTES);
21 if (!isset($_SESSION['auth']) || $_SESSION['auth'] != TRUE){
22 // if ($_SESSION['image'] != 'on'){
24 if (isset($_COOKIE[session_name()])){
25 setcookie(session_name(), '', time() - 42000, dirname($_SERVER['SCRIPT_NAME']) . '/', $_SERVER["SERVER_NAME"]);
34 if (isset($_POST['posting'])){
35 require 'post_processor.php';