added spaces + removed parentheses (include/require are no functions)

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2017-03-30 21:44:32 +02:00
parent 6b8f581897
commit 2a480df6fa
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -1,14 +1,14 @@
<?php <?php
require_once('include/Photo.php'); require_once 'include/Photo.php';
require_once('include/photos.php'); require_once 'include/photos.php';
require_once('include/items.php'); require_once 'include/items.php';
require_once('include/acl_selectors.php'); require_once 'include/acl_selectors.php';
require_once('include/bbcode.php'); require_once 'include/bbcode.php';
require_once('include/security.php'); require_once 'include/security.php';
require_once('include/redir.php'); require_once 'include/redir.php';
require_once('include/tags.php'); require_once 'include/tags.php';
require_once('include/threads.php'); require_once 'include/threads.php';
require_once('include/Probe.php'); require_once 'include/Probe.php';
use \Friendica\Core\Config; use \Friendica\Core\Config;
@ -861,7 +861,7 @@ function photos_post(App $a) {
$exif = $ph->orient($src); $exif = $ph->orient($src);
@unlink($src); @unlink($src);
$max_length = get_config('system','max_image_length'); $max_length = get_config('system', 'max_image_length');
if (! $max_length) { if (! $max_length) {
$max_length = MAX_IMAGE_LENGTH; $max_length = MAX_IMAGE_LENGTH;
} }