Cleanly fix the problems with line feed

This commit is contained in:
Sébastien Lucas 2013-07-22 14:29:32 +02:00
parent 2a5d405a91
commit 3ca1d1d3df
18 changed files with 6 additions and 30 deletions

View file

@ -265,4 +265,3 @@ class OPDSRenderer
}
}
?>

View file

@ -99,4 +99,3 @@ and book = ?');
return $authorArray;
}
}
?>

View file

@ -864,4 +864,3 @@ abstract class Base
}
}
?>

View file

@ -562,4 +562,3 @@ order by substr (upper (sort), 1, 1)");
}
}
?>

View file

@ -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>
@ -153,4 +153,3 @@ Please check
</div>
</body>
</html>

View file

@ -9,4 +9,3 @@
require_once 'config_default.php';
if (file_exists('config_local.php'))
require_once 'config_local.php';
?>

View file

@ -202,4 +202,3 @@
*/
$config['cops_html_tag_filter'] = "0";
?>

View file

@ -21,4 +21,3 @@
* 0 : disable
*/
$config['cops_use_url_rewriting'] = "0";
?>

View file

@ -99,4 +99,3 @@ order by {0}.value', self::getTableName ($customId), self::getTableLinkName ($cu
return $entryArray;
}
}
?>

View file

@ -143,4 +143,3 @@ class Data extends Base {
}
}
}
?>

View file

@ -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;
}
?>

View file

@ -51,9 +51,6 @@ function notFound () {
}
}
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
ob_end_clean();
switch ($type)
{
case "jpg":
@ -141,4 +138,3 @@ function notFound () {
else {
header ($config['cops_x_accel_redirect'] . ": " . $dir . $file);
}
?>

View file

@ -101,4 +101,3 @@
echo json_encode ($out);
?>

View file

@ -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>

View file

@ -64,4 +64,3 @@ order by languages.lang_code');
return $entryArray;
}
}
?>

View file

@ -64,5 +64,3 @@ if(!$mail->Send()) {
echo 'Message has been sent';
?>

View file

@ -73,4 +73,3 @@ order by series.sort');
return $entryArray;
}
}
?>

View file

@ -62,4 +62,3 @@ order by tags.name');
return $entryArray;
}
}
?>