Skip to content

Commit

Permalink
Move newlines
Browse files Browse the repository at this point in the history
Now it appears like:

    Cookie data and Client Date not set. Use the ReadMe file first before using this script.username@hostanem~/Thinki-Downloader$ 

with this, it appears like

    Cookie data and Client Date not set. Use the ReadMe file first before using this script.
    username@hostanem~/Thinki-Downloader$
  • Loading branch information
felagund authored Sep 18, 2022
1 parent 63bd524 commit bb3587d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// -:
$msg = '';
if($cookiedata == '' || $clientdate == '')
$msg .= "Cookie data and Client Date not set. Use the ReadMe file first before using this script.";
$msg .= "Cookie data and Client Date not set. Use the ReadMe file first before using this script.\n";
if(!extension_loaded('curl'))
$msg .= '\nCurl not installed or enabled in php.ini';
$msg .= 'Curl not installed or enabled in php.ini\n';
if(!extension_loaded('mbstring'))
$msg .= '\nMbstring extension not enabled. Remove ; from php.ini config in the line ;extension=mbstring';
$msg .= 'Mbstring extension not enabled. Remove ; from php.ini config in the line ;extension=mbstring\n';
if(!extension_loaded('openssl'))
$msg .= '\nOpenssl not enabled in php.ini';
$msg .= 'Openssl not enabled in php.ini\n';
if($msg != '')
die($msg);

0 comments on commit bb3587d

Please sign in to comment.