]> git.mxchange.org Git - friendica.git/commitdiff
added spaces + removed parentheses (include/require are no functions)
authorRoland Haeder <roland@mxchange.org>
Thu, 30 Mar 2017 19:44:32 +0000 (21:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 30 Mar 2017 19:44:55 +0000 (21:44 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/photos.php

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