Completed
Push — master ( 6ed6e7...ca5679 )
by Lars
26:16 queued 07:58
created
src/intraface.dk/config.local.default.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 define('NET_DIRECTORY', '/src/intraface.dk/'); // subdirectory. if non keep empty
23 23
 
24 24
 // define paths - remember trailing slahs
25
-define('PATH_ROOT', dirname(__FILE__) . '/../');
25
+define('PATH_ROOT', dirname(__FILE__).'/../');
26 26
 
27 27
 // optional upload path - remember trailing slash
28 28
 define('PATH_UPLOAD', '/var/cache/intraface/upload/');
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 define('PATH_CACHE', '/var/cache/intraface/');
32 32
 
33 33
 // set include path
34
-define('PATH_INCLUDE_PATH', PATH_ROOT . PATH_SEPARATOR . get_include_path());
34
+define('PATH_INCLUDE_PATH', PATH_ROOT.PATH_SEPARATOR.get_include_path());
35 35
 set_include_path(PATH_INCLUDE_PATH);
36 36
 
37 37
 // error logs
Please login to merge, or discard this patch.
src/intraface.dk/xmlrpc/cms/server0300.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 $HTTP_RAW_POST_DATA = file_get_contents('php://input');
15 15
 
16 16
 $options = array('prefix' => 'cms.',
17
-                 'encoding' => 'utf-8');
17
+                    'encoding' => 'utf-8');
18 18
 
19 19
 $server = XML_RPC2_Server::create(new Intraface_XMLRPC_CMS_Server0300(), $options);
20 20
 $server->handleCall();
Please login to merge, or discard this patch.
src/intraface.dk/xmlrpc/cms/server2.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
 $HTTP_RAW_POST_DATA = file_get_contents('php://input');
14 14
 $options = array('prefix' => 'cms.',
15
-                 'encoding' => 'iso-8859-1');
15
+                    'encoding' => 'iso-8859-1');
16 16
 
17 17
 XML_RPC2_Backend::setBackend('php');
18 18
 $server = XML_RPC2_Server::create(new Intraface_XMLRPC_CMS_Server(), $options);
Please login to merge, or discard this patch.
src/intraface.dk/common.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
     throw new Exception('This file cannot be accessed directly');
14 14
 }
15 15
 
16
-$config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.php';
16
+$config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.php';
17 17
 
18 18
 if (!file_exists($config_file)) {
19
-    $config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.default.php';
19
+    $config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.default.php';
20 20
 }
21 21
 
22 22
 require_once $config_file;
Please login to merge, or discard this patch.
src/intraface.dk/core/css/stylesheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     readfile('forms.css');
25 25
 
26 26
     $theme = intval($_GET['theme']);
27
-    readfile('skins/' . $themes[$theme]['label'] . '/typo.css');
27
+    readfile('skins/'.$themes[$theme]['label'].'/typo.css');
28 28
 }
29 29
 
30 30
 exit;
Please login to merge, or discard this patch.
src/intraface.dk/install/reset-staging-server.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2
-require_once dirname(__FILE__) . '/../common.php';
2
+require_once dirname(__FILE__).'/../common.php';
3 3
 
4
-$install_class = realpath(dirname(__FILE__) . '/../../../install/') . '/Install.php';
4
+$install_class = realpath(dirname(__FILE__).'/../../../install/').'/Install.php';
5 5
 
6 6
 if (!file_exists($install_class)) {
7 7
     throw new Exception('The install class is not present. Probably because you should not run it now!');
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         }
34 34
     }
35 35
 
36
-    delete_cache_files_from_demo(dirname(__FILE__) . '/../demo/');
36
+    delete_cache_files_from_demo(dirname(__FILE__).'/../demo/');
37 37
 
38 38
     if (!empty($_GET['login'])) {
39 39
         echo 'staging server reset. Go to <a href="../core/testlogin">login</a>.';
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     if (is_dir($f)) {
54 54
         foreach (scandir($f) as $item) {
55 55
             if (strpos($item, 'cache_') !== false) {
56
-                unlink($f . $item);
56
+                unlink($f.$item);
57 57
             }
58 58
         }
59 59
     }
Please login to merge, or discard this patch.
src/intraface.dk/demo/main.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
         <style type="text/css">
9 9
         <?php foreach ($context->document()->styles() as $style) : ?>
10 10
             @import "<?php e($style); ?>";
11
-        <?php endforeach;?>
11
+        <?php endforeach; ?>
12 12
         </style>
13 13
      </head>
14 14
 
Please login to merge, or discard this patch.
src/intraface.dk/demo/Demo/Root.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     function renderHtml()
12 12
     {
13
-        return get_class($this) . ' intentionally left blank';
13
+        return get_class($this).' intentionally left blank';
14 14
     }
15 15
 
16 16
     function getPrivateKey()
Please login to merge, or discard this patch.
src/intraface.dk/demo/Demo/Newsletter/Root.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     function renderHtml()
12 12
     {
13
-        return get_class($this) . ' intentionally left blank';
13
+        return get_class($this).' intentionally left blank';
14 14
     }
15 15
 
16 16
     function getPrivateKey()
Please login to merge, or discard this patch.