Merge remote-tracking branch 'upstream/develop' into rewrites/app_get_baseurl_static
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
commit
0436782e70
5 changed files with 10 additions and 3 deletions
|
@ -140,17 +140,23 @@ function proxy_init(App $a) {
|
|||
if (!$direct_cache AND ($cachefile == '')) {
|
||||
$r = qu("SELECT * FROM `photo` WHERE `resource-id` = '%s' LIMIT 1", $urlhash);
|
||||
if (dbm::is_result($r)) {
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< origin/rewrites/app_get_baseurl_static
|
||||
$img_str = $r[0]['data'];
|
||||
$mime = $r[0]["desc"];
|
||||
if ($mime == "") $mime = "image/jpeg";
|
||||
=======
|
||||
=======
|
||||
>>>>>>> upstream/develop
|
||||
$img_str = $r[0]['data'];
|
||||
$mime = $r[0]['desc'];
|
||||
if ($mime == '') {
|
||||
$mime = 'image/jpeg';
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
>>>>>>> HEAD~0
|
||||
=======
|
||||
>>>>>>> upstream/develop
|
||||
}
|
||||
} else {
|
||||
$r = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue