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