Adjusted line position.
This commit is contained in:
parent
a551215418
commit
fe3954e709
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
require __DIR__ . '/../sig.php';
|
require __DIR__ . '/../sig.php';
|
||||||
|
|
||||||
if(is_file(NP_INFO)) {
|
if(is_file(NP_INFO)) {
|
||||||
$nowPlaying = true;
|
$nowPlaying = false;
|
||||||
$npInfo = unserialize(file_get_contents(NP_INFO));
|
$npInfo = unserialize(file_get_contents(NP_INFO));
|
||||||
} else $nowPlaying = false;
|
} else $nowPlaying = false;
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ if(in_array($reqPath, [
|
||||||
} else {
|
} else {
|
||||||
$imagickDraw->setFont(NP_FONT_FAM);
|
$imagickDraw->setFont(NP_FONT_FAM);
|
||||||
$imagickDraw->setFontSize(NP_FONT_SIZE);
|
$imagickDraw->setFontSize(NP_FONT_SIZE);
|
||||||
$imagick->annotateImage($imagickDraw, 10, SIG_HEIGHT - 5, 0, "If it ain't broke, I'll break it");
|
$imagick->annotateImage($imagickDraw, 10, SIG_HEIGHT - 4, 0, "If it ain't broke, I'll break it");
|
||||||
}
|
}
|
||||||
|
|
||||||
$fileName = pathinfo($reqPath, PATHINFO_FILENAME);
|
$fileName = pathinfo($reqPath, PATHINFO_FILENAME);
|
||||||
|
|
Loading…
Reference in a new issue