Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-08-30 02:31:10 +0400
committerArthur Schiwon <blizzz@owncloud.com>2013-08-30 02:31:10 +0400
commit6415a547a11392f20cbd17c2ab191a4b0104dddd (patch)
tree45fae30530748208376c1821c43b2ffdd1b52098 /lib/base.php
parentda504295fe7d6f360cbf6156f4c2edf5b3b521a8 (diff)
whitespaces
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php
index 93ecb9d1aa6..3c86f2646f6 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -79,7 +79,7 @@ class OC {
*/
public static function autoload($className) {
$className = trim($className, '\\');
-
+
if (array_key_exists($className, OC::$CLASSPATH)) {
$path = OC::$CLASSPATH[$className];
/** @TODO: Remove this when necessary
@@ -326,9 +326,9 @@ class OC {
// if session cant be started break with http 500 error
if (session_start() === false){
- OC_Log::write('core', 'Session could not be initialized',
+ OC_Log::write('core', 'Session could not be initialized',
OC_Log::ERROR);
-
+
header('HTTP/1.1 500 Internal Server Error');
OC_Util::addStyle("styles");
$error = 'Session could not be initialized. Please contact your ';
@@ -639,7 +639,7 @@ class OC {
// Handle redirect URL for logged in users
if (isset($_REQUEST['redirect_url']) && OC_User::isLoggedIn()) {
$location = OC_Helper::makeURLAbsolute(urldecode($_REQUEST['redirect_url']));
-
+
// Deny the redirect if the URL contains a @
// This prevents unvalidated redirects like ?redirect_url=:user@domain.com
if (strpos($location, '@') === FALSE) {