mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Added comment about set_urls()
This commit is contained in:
@@ -28,8 +28,9 @@ define('e107_INIT', true);
|
|||||||
|
|
||||||
function thumbErrorHandler()
|
function thumbErrorHandler()
|
||||||
{
|
{
|
||||||
echo "Fatal Thumbnail Error";
|
|
||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
|
echo "Fatal Thumbnail Error";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
set_exception_handler('thumbErrorHandler'); // disable to troubleshoot.
|
set_exception_handler('thumbErrorHandler'); // disable to troubleshoot.
|
||||||
@@ -150,7 +151,7 @@ class e_thumbpage
|
|||||||
$e107->file_path = $e107->fix_windows_paths($self)."/";
|
$e107->file_path = $e107->fix_windows_paths($self)."/";
|
||||||
$e107->set_base_path();
|
$e107->set_base_path();
|
||||||
$e107->set_request(false);
|
$e107->set_request(false);
|
||||||
$e107->set_urls(false);
|
$e107->set_urls(false); //todo check if this is still required after the 'prepare' issue is fixed.
|
||||||
unset($tmp, $self);
|
unset($tmp, $self);
|
||||||
|
|
||||||
// basic Admin area detection - required for proper path parsing
|
// basic Admin area detection - required for proper path parsing
|
||||||
|
Reference in New Issue
Block a user