mirror of
https://github.com/friendica/friendica
synced 2024-11-19 09:43:45 +00:00
parent eval order issue
This commit is contained in:
parent
fdd372a798
commit
18157769f0
2 changed files with 2 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -7,7 +7,7 @@ require_once('include/text.php');
|
|||
require_once("include/pgettext.php");
|
||||
|
||||
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.1096' );
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.1097' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||
define ( 'DB_UPDATE_VERSION', 1087 );
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ function wall_attach_post(&$a) {
|
|||
|
||||
$filedata = @file_get_contents($src);
|
||||
$mimetype = z_mime_content_type($filename);
|
||||
if((! strlen($mimetype)) || ($mimetype === 'application/octet-stream') && function_exists('mime_content_type'))
|
||||
if(((! strlen($mimetype)) || ($mimetype === 'application/octet-stream')) && function_exists('mime_content_type'))
|
||||
$mimetype = mime_content_type($filename);
|
||||
$hash = random_string();
|
||||
$created = datetime_convert();
|
||||
|
|
Loading…
Reference in a new issue