mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Renamed e_shims to eShims
To follow @myovchev's convention like eHelper Per @CaMer0n
This commit is contained in:
parent
b2de51dd1b
commit
ded595d704
@ -12,7 +12,7 @@
|
|||||||
// e107 v2-style classes
|
// e107 v2-style classes
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
class e_shims extends \e107\Shims\All
|
class eShims extends \e107\Shims\All
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -203,7 +203,6 @@ class e107
|
|||||||
'e_parse_shortcode' => '{e_HANDLER}shortcode_handler.php',
|
'e_parse_shortcode' => '{e_HANDLER}shortcode_handler.php',
|
||||||
'e_plugin' => '{e_HANDLER}plugin_class.php',
|
'e_plugin' => '{e_HANDLER}plugin_class.php',
|
||||||
'e_ranks' => '{e_HANDLER}e_ranks_class.php',
|
'e_ranks' => '{e_HANDLER}e_ranks_class.php',
|
||||||
'e_shims' => '{e_HANDLER}Shims/e_shims.php',
|
|
||||||
'e_shortcode' => '{e_HANDLER}shortcode_handler.php',
|
'e_shortcode' => '{e_HANDLER}shortcode_handler.php',
|
||||||
'e_system_user' => '{e_HANDLER}user_model.php',
|
'e_system_user' => '{e_HANDLER}user_model.php',
|
||||||
'e_theme' => '{e_HANDLER}theme_handler.php',
|
'e_theme' => '{e_HANDLER}theme_handler.php',
|
||||||
@ -227,6 +226,7 @@ class e107
|
|||||||
'eRequest' => '{e_HANDLER}application.php',
|
'eRequest' => '{e_HANDLER}application.php',
|
||||||
'eResponse' => '{e_HANDLER}application.php',
|
'eResponse' => '{e_HANDLER}application.php',
|
||||||
'eRouter' => '{e_HANDLER}application.php',
|
'eRouter' => '{e_HANDLER}application.php',
|
||||||
|
'eShims' => '{e_HANDLER}Shims/eShims.php',
|
||||||
'eUrl' => '{e_HANDLER}e107Url.php',
|
'eUrl' => '{e_HANDLER}e107Url.php',
|
||||||
'eUrlConfig' => '{e_HANDLER}application.php',
|
'eUrlConfig' => '{e_HANDLER}application.php',
|
||||||
'eUrlRule' => '{e_HANDLER}application.php',
|
'eUrlRule' => '{e_HANDLER}application.php',
|
||||||
|
@ -111,7 +111,7 @@ function resize_image($source_file, $destination_file, $type = "upload", $model
|
|||||||
{
|
{
|
||||||
if (($result = mimeFromFilename($source_file)) === FALSE) { return FALSE; }
|
if (($result = mimeFromFilename($source_file)) === FALSE) { return FALSE; }
|
||||||
header($result);
|
header($result);
|
||||||
if (e_shims::readfile($source_file) === FALSE) { return FALSE; }
|
if (eShims::readfile($source_file) === FALSE) { return FALSE; }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -350,7 +350,7 @@ class e_thumbpage
|
|||||||
// Send required headers
|
// Send required headers
|
||||||
//$this->sendHeaders($thumbnfo);
|
//$this->sendHeaders($thumbnfo);
|
||||||
|
|
||||||
e_shims::readfile($cache_filename);
|
eShims::readfile($cache_filename);
|
||||||
//$bench->end()->logResult('thumb.php', $_GET['src'].' - retrieve cache');
|
//$bench->end()->logResult('thumb.php', $_GET['src'].' - retrieve cache');
|
||||||
|
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user