1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Downloads: Legacy Upgrade image-path fixes.

This commit is contained in:
Cameron
2016-12-03 14:16:14 -08:00
parent 6eefc91a9b
commit 03a6a63694
2 changed files with 53 additions and 16 deletions

View File

@@ -3739,6 +3739,7 @@ class e_parser
* Render an <img> tag.
* @param string $file
* @param array $parm legacy|w|h|alt|class|id|crop
* @param array $parm['legacy'] Usually a legacy path like {e_FILE}
* @return string
* @example $tp->toImage('welcome.png', array('legacy'=>{e_IMAGE}newspost_images/','w'=>200));
*/
@@ -3806,6 +3807,7 @@ class e_parser
{
$log = e107::getAdminLog();
$log->addDebug('Broken Image Path: '.$legacyPath."\n".print_r(debug_backtrace(null,2), true), false)->save('IMALAN_00');
e107::getDebug()->log("Broken Image Path: ".$legacyPath);
}
}