1
0
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:
Nick Liu 2018-10-31 12:24:45 -05:00
parent b2de51dd1b
commit ded595d704
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
// e107 v2-style classes
namespace
{
class e_shims extends \e107\Shims\All
class eShims extends \e107\Shims\All
{
}
}

View File

@ -203,7 +203,6 @@ class e107
'e_parse_shortcode' => '{e_HANDLER}shortcode_handler.php',
'e_plugin' => '{e_HANDLER}plugin_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_system_user' => '{e_HANDLER}user_model.php',
'e_theme' => '{e_HANDLER}theme_handler.php',
@ -227,6 +226,7 @@ class e107
'eRequest' => '{e_HANDLER}application.php',
'eResponse' => '{e_HANDLER}application.php',
'eRouter' => '{e_HANDLER}application.php',
'eShims' => '{e_HANDLER}Shims/eShims.php',
'eUrl' => '{e_HANDLER}e107Url.php',
'eUrlConfig' => '{e_HANDLER}application.php',
'eUrlRule' => '{e_HANDLER}application.php',

View File

@ -111,7 +111,7 @@ function resize_image($source_file, $destination_file, $type = "upload", $model
{
if (($result = mimeFromFilename($source_file)) === FALSE) { return FALSE; }
header($result);
if (e_shims::readfile($source_file) === FALSE) { return FALSE; }
if (eShims::readfile($source_file) === FALSE) { return FALSE; }
}
else
{

View File

@ -350,7 +350,7 @@ class e_thumbpage
// Send required headers
//$this->sendHeaders($thumbnfo);
e_shims::readfile($cache_filename);
eShims::readfile($cache_filename);
//$bench->end()->logResult('thumb.php', $_GET['src'].' - retrieve cache');
exit;