소스 검색

Duplicate

master
Sébastien Lucas 10 년 전
부모
커밋
655589d407
3개의 변경된 파일7개의 추가작업 그리고 14개의 파일을 삭제
  1. +7
    -0
      base.php
  2. +0
    -7
      epubfs.php
  3. +0
    -7
      fetch.php

+ 7
- 0
base.php 파일 보기

@@ -46,6 +46,13 @@ function getQueryString () {
return "";
}

function notFound () {
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
header("Status: 404 Not Found");

$_SERVER['REDIRECT_STATUS'] = 404;
}

function getURLParam ($name, $default = NULL) {
if (!empty ($_GET) && isset($_GET[$name]) && $_GET[$name] != "") {
return $_GET[$name];


+ 0
- 7
epubfs.php 파일 보기

@@ -5,13 +5,6 @@ require_once ("base.php");
require_once ("book.php");
require_once ("resources/php-epub-meta/epub.php");
function notFound () {
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
header("Status: 404 Not Found");
$_SERVER['REDIRECT_STATUS'] = 404;
}
function getComponentContent ($book, $component, $add) {
$data = $book->component ($component);


+ 0
- 7
fetch.php 파일 보기

@@ -10,13 +10,6 @@
require_once ("book.php");
require_once ("data.php");

function notFound () {
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
header("Status: 404 Not Found");

$_SERVER['REDIRECT_STATUS'] = 404;
}

global $config;

if ($config ['cops_fetch_protect'] == "1") {


불러오는 중...
취소
저장