fix typo
This commit is contained in:
parent
64b090ee05
commit
785452873f
59 changed files with 2592 additions and 1277 deletions
17
music.php
17
music.php
|
@ -3,6 +3,8 @@
|
|||
/*
|
||||
Initialize random shit
|
||||
*/
|
||||
include "data/config.php";
|
||||
|
||||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
|
@ -28,20 +30,7 @@ try{
|
|||
|
||||
}catch(Exception $error){
|
||||
|
||||
echo
|
||||
$frontend->drawerror(
|
||||
"Shit",
|
||||
'This scraper returned an error:' .
|
||||
'<div class="code">' . htmlspecialchars($error->getMessage()) . '</div>' .
|
||||
'Things you can try:' .
|
||||
'<ul>' .
|
||||
'<li>Use a different scraper</li>' .
|
||||
'<li>Remove keywords that could cause errors</li>' .
|
||||
'<li>Use another 4get instance</li>' .
|
||||
'</ul><br>' .
|
||||
'If the error persists, please <a href="/about">contact the administrator</a>.'
|
||||
);
|
||||
die();
|
||||
$frontend->drawscrapererror($error->getMessage(), $get, "music");
|
||||
}
|
||||
|
||||
$categories = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue