change increase default line number
This commit is contained in:
parent
ee99a553cf
commit
ccccacca74
|
@ -70,7 +70,7 @@
|
||||||
$content = file_get_contents($dir . '/' . $title);
|
$content = file_get_contents($dir . '/' . $title);
|
||||||
}
|
}
|
||||||
|
|
||||||
$nblines = max(20, substr_count($content, "\r\n") + 1);
|
$nblines = max(20, substr_count($content, "\r\n") + 1) * 2;
|
||||||
|
|
||||||
echo '<form action="index.php" method="POST">
|
echo '<form action="index.php" method="POST">
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue