Completed
Push — master ( c8bb46...194553 )
by Mehmet
02:03
created
app/controllers/es/doc_delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
     }
24 24
     $found = ($result['found'] === true) ? 1 : 0;
25 25
     sleep(1);
26
-    header('location:'.BASE_HREF.'/'.$index.'/'.$type.'?res=success&req=delete&f='.$found);
26
+    header('location:' . BASE_HREF . '/' . $index . '/' . $type . '?res=success&req=delete&f=' . $found);
27 27
     exit;
28 28
 }
Please login to merge, or discard this patch.
app/controllers/es/type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,5 +36,5 @@
 block discarded – undo
36 36
         $nof = (int) $count['hits']['total'];
37 37
     }
38 38
 
39
-    return ['app_title' => $index.'/'.$type, 'data' => ['index' => $index, 'type' => $type, 'documents' => $documents, 'from' => $from, 'nof' => $nof, 'size' => $size, 'sort' => $sort, 'query' => $query]];
39
+    return ['app_title' => $index . '/' . $type, 'data' => ['index' => $index, 'type' => $type, 'documents' => $documents, 'from' => $from, 'nof' => $nof, 'size' => $size, 'sort' => $sort, 'query' => $query]];
40 40
 }
Please login to merge, or discard this patch.
app/webroot/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (file_exists(dirname(__DIR__).'/app_config.php')) {
4
-    require_once dirname(__DIR__).'/app_config.php';
3
+if (file_exists(dirname(__DIR__) . '/app_config.php')) {
4
+    require_once dirname(__DIR__) . '/app_config.php';
5 5
 } else {
6
-    require_once dirname(__DIR__).'/app_config.sample.php';
6
+    require_once dirname(__DIR__) . '/app_config.sample.php';
7 7
 }
8
-require_once $config['base_dir'].'/vendor/autoload.php';
8
+require_once $config['base_dir'] . '/vendor/autoload.php';
9 9
 
10 10
 define('BASE_HREF', $config['base_url']);
11 11
 
Please login to merge, or discard this patch.