Created
July 12, 2013 15:11
-
-
Save mipmip/5985217 to your computer and use it in GitHub Desktop.
Bypass for: kickstarter doesn't want to save because MD5 value in invalid.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Write files: | |
foreach($writeFiles as | |
$theFile => $fileData) { | |
t3lib_div::writeFile($extDirPath.$theFile,$fileData['content']); | |
if | |
(!@is_file($extDirPath.$theFile)) { | |
$content .= | |
sprintf($GLOBALS['LANG']->getLL('ext_import_file_not_created'), | |
$extDirPath . | |
$theFile) . '<br />'; | |
//FORCED FALSE (line 2019) | |
} elseif (false && md5(t3lib_div::getUrl($extDirPath.$theFile)) != | |
$fileData['content_md5']) { | |
$content .= | |
sprintf($GLOBALS['LANG']->getLL('ext_import_file_corrupted'), | |
$extDirPath . | |
$theFile) . '<br />'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment