mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
parent
5f9dd11cfb
commit
5a02e39a65
94 changed files with 481 additions and 338 deletions
|
@ -71,7 +71,7 @@ class Proxy extends BaseModule
|
|||
$thumb = false;
|
||||
$size = 1024;
|
||||
$sizetype = '';
|
||||
$basepath = $a->get_basepath();
|
||||
$basepath = $a->getBasePath();
|
||||
|
||||
// If the cache path isn't there, try to create it
|
||||
if (!is_dir($basepath . '/proxy') && is_writable($basepath)) {
|
||||
|
@ -196,7 +196,7 @@ class Proxy extends BaseModule
|
|||
unlink($tempfile);
|
||||
|
||||
// If there is an error then return a blank image
|
||||
if ((substr($a->get_curl_code(), 0, 1) == '4') || (!$img_str)) {
|
||||
if ((substr(Network::getCurl()->getCode(), 0, 1) == '4') || (!$img_str)) {
|
||||
$img_str = file_get_contents('images/blank.png');
|
||||
$mime = 'image/png';
|
||||
$cachefile = ''; // Clear the cachefile so that the dummy isn't stored
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue