Cleanly fix the problems with line feed
This commit is contained in:
parent
2a5d405a91
commit
3ca1d1d3df
|
@ -265,4 +265,3 @@ class OPDSRenderer
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -99,4 +99,3 @@ and book = ?');
|
|||
return $authorArray;
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -1,3 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<?php
|
||||
/**
|
||||
* COPS (Calibre OPDS PHP Server) Configuration check
|
||||
|
@ -21,8 +23,6 @@
|
|||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>COPS Configuration Check</title>
|
||||
|
@ -152,5 +152,4 @@ Please check
|
|||
<footer></footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
|
@ -9,4 +9,3 @@
|
|||
require_once 'config_default.php';
|
||||
if (file_exists('config_local.php'))
|
||||
require_once 'config_local.php';
|
||||
?>
|
|
@ -202,4 +202,3 @@
|
|||
*/
|
||||
$config['cops_html_tag_filter'] = "0";
|
||||
|
||||
?>
|
|
@ -21,4 +21,3 @@
|
|||
* 0 : disable
|
||||
*/
|
||||
$config['cops_use_url_rewriting'] = "0";
|
||||
?>
|
|
@ -99,4 +99,3 @@ order by {0}.value', self::getTableName ($customId), self::getTableLinkName ($cu
|
|||
return $entryArray;
|
||||
}
|
||||
}
|
||||
?>
|
4
feed.php
4
feed.php
|
@ -25,9 +25,6 @@
|
|||
|
||||
$OPDSRender = new OPDSRenderer ();
|
||||
|
||||
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
|
||||
ob_end_clean();
|
||||
|
||||
switch ($page) {
|
||||
case Base::PAGE_OPENSEARCH :
|
||||
echo $OPDSRender->getOpenSearch ();
|
||||
|
@ -39,4 +36,3 @@
|
|||
return;
|
||||
break;
|
||||
}
|
||||
?>
|
|
@ -50,9 +50,6 @@ function notFound () {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
|
||||
ob_end_clean();
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
|
@ -141,4 +138,3 @@ function notFound () {
|
|||
else {
|
||||
header ($config['cops_x_accel_redirect'] . ": " . $dir . $file);
|
||||
}
|
||||
?>
|
|
@ -101,4 +101,3 @@
|
|||
|
||||
echo json_encode ($out);
|
||||
|
||||
?>
|
|
@ -1,3 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<?php
|
||||
/**
|
||||
* COPS (Calibre OPDS PHP Server) HTML main script
|
||||
|
@ -29,8 +31,6 @@
|
|||
$n = getURLParam ("n", "1");
|
||||
$database = GetUrlParam (DB);
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>COPS</title>
|
||||
|
@ -93,4 +93,4 @@
|
|||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
|
@ -64,4 +64,3 @@ order by languages.lang_code');
|
|||
return $entryArray;
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -64,5 +64,3 @@ if(!$mail->Send()) {
|
|||
|
||||
echo 'Message has been sent';
|
||||
|
||||
|
||||
?>
|
Loading…
Reference in a new issue