OSDN Git Service

一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。
[yanmah2/YANMAH2-season2-.git] / post.php
1 <?php
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).
5 ?>
6 <?php
7 define("HELLO","world");
8 require_once "product_definitions.php";
9 require_once "configurable_variables.php";
10 require_once "common_functions.php";
11 ?>
12 <?php
13 require_once 'init_processor.php';
14 // var_dump($_SESSION);
15 ?>
16 <?php
17 $selfcall = htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES);
18 $safequery = htmlspecialchars($_SERVER["QUERY_STRING"], ENT_QUOTES);
19 ?>
20 <?php
21 if (!isset($_SESSION['auth']) || $_SESSION['auth'] != TRUE){
22 // if ($_SESSION['image'] != 'on'){
23   $_SESSION = array();
24   if (isset($_COOKIE[session_name()])){
25         setcookie(session_name(), '', time() - 42000, dirname($_SERVER['SCRIPT_NAME']) . '/', $_SERVER["SERVER_NAME"]);
26   }
27   session_destroy();
28 // }
29 }
30 ?>
31 <?php
32 //投稿処理の呼び出し。
33 //var_dump($_POST);
34 if (isset($_POST['posting'])){
35   require 'post_processor.php';
36 }
37 ?>