Compare commits
No commits in common. "4577aa5e16b98f41b04a09db890eff809c0b5926" and "3cc963cbfab6bc032f8bf38fc51cfbbecddb681d" have entirely different histories.
4577aa5e16
...
3cc963cbfa
|
@ -45,7 +45,6 @@ if ( $ext == "cbz" ) {
|
|||
for ( $i=0; $i<$zip->numFiles; $i++ ) {
|
||||
$imgname = basename($zip->getNameIndex($i));
|
||||
//$myext = substr($imgname, -3);
|
||||
if ( ! isset(pathinfo($imgname)['extension']) ) continue;
|
||||
$myext = strtolower(pathinfo($imgname)['extension']);
|
||||
if ( ($myext == "jpg") || ($myext == "png") || ($myext == "webp") ) {
|
||||
$imgname = str_replace("#", "", $imgname);
|
||||
|
@ -61,7 +60,6 @@ if ( $ext == "cbz" ) {
|
|||
$myfile = $comicoutputfull . $file;
|
||||
$mynewfile = $comicoutputfull . str_replace("#", "", $file);
|
||||
//$myext = strtolower(substr($file, -3));
|
||||
if ( ! isset(pathinfo($myfile)['extension']) ) continue;
|
||||
$myext = strtolower(pathinfo($myfile)['extension']);
|
||||
if ( ($myext == "jpg") || ($myext == "png") || ($myext == "webp") ) {
|
||||
rename($myfile, $mynewfile);
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Require all denied
|
Loading…
Reference in New Issue
Block a user