Completed
Push — master ( 41d3a2...d90e62 )
by Baris
02:39
created
apps/default.app/configs/application.php 2 patches
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return array(
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Database Connections
8 8
 	|--------------------------------------------------------------------------
@@ -25,22 +25,22 @@  discard block
 block discarded – undo
25 25
 	|
26 26
 	*/
27 27
 
28
-	'databases' => array (
29
-		'db' => array (
30
-	        'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
-	        'config' => array (
32
-	        	'host' => '127.0.0.1',
33
-				'port' => 3306,
34
-		        'username' => 'root',
35
-		        'password' => '',
36
-		        'dbname' => '',
37
-				'dbname' => 'northwind',
38
-				'persistent' => false
39
-		    )
40
-		)
41
-	),
42
-
43
-	/*
28
+    'databases' => array (
29
+        'db' => array (
30
+            'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
+            'config' => array (
32
+                'host' => '127.0.0.1',
33
+                'port' => 3306,
34
+                'username' => 'root',
35
+                'password' => '',
36
+                'dbname' => '',
37
+                'dbname' => 'northwind',
38
+                'persistent' => false
39
+            )
40
+        )
41
+    ),
42
+
43
+    /*
44 44
 	|--------------------------------------------------------------------------
45 45
 	| View Engines
46 46
 	|--------------------------------------------------------------------------
@@ -52,19 +52,19 @@  discard block
 block discarded – undo
52 52
 	|
53 53
 	*/
54 54
 
55
-	'view_engines' => array(
56
-		'.volt' => array(
57
-			'type' => '\Phalcon\Mvc\View\Engine\Volt',
58
-			'options' => array(
59
-			'compiledPath' => STORAGE_PATH . 'framework/views/',
60
-			'compiledSeparator' => '_',
61
-			'compiledExtension' => '.compiled',
62
-			'stat' => true
63
-			)
64
-		)
65
-	),
55
+    'view_engines' => array(
56
+        '.volt' => array(
57
+            'type' => '\Phalcon\Mvc\View\Engine\Volt',
58
+            'options' => array(
59
+            'compiledPath' => STORAGE_PATH . 'framework/views/',
60
+            'compiledSeparator' => '_',
61
+            'compiledExtension' => '.compiled',
62
+            'stat' => true
63
+            )
64
+        )
65
+    ),
66 66
 
67
-	/*
67
+    /*
68 68
 	|--------------------------------------------------------------------------
69 69
 	| View Layout Name
70 70
 	|--------------------------------------------------------------------------
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
 	|
75 75
 	*/
76 76
 
77
-	'view_layout_name' => 'main',
77
+    'view_layout_name' => 'main',
78 78
 
79
-	/*
79
+    /*
80 80
 	|--------------------------------------------------------------------------
81 81
 	| Application Name
82 82
 	|--------------------------------------------------------------------------
@@ -86,9 +86,9 @@  discard block
 block discarded – undo
86 86
 	|
87 87
 	*/
88 88
 
89
-	'name' => "default.app",
89
+    'name' => "default.app",
90 90
 
91
-	/*
91
+    /*
92 92
 	|--------------------------------------------------------------------------
93 93
 	| Theme Layout Name
94 94
 	|--------------------------------------------------------------------------
@@ -99,9 +99,9 @@  discard block
 block discarded – undo
99 99
 	|
100 100
 	*/
101 101
 
102
-	'theme_layout_name' => "default",
102
+    'theme_layout_name' => "default",
103 103
 
104
-	/*
104
+    /*
105 105
 	|--------------------------------------------------------------------------
106 106
 	| * Default Language
107 107
 	|--------------------------------------------------------------------------
@@ -111,9 +111,9 @@  discard block
 block discarded – undo
111 111
 	|
112 112
 	*/
113 113
 
114
-	'default_language' => 'en',
114
+    'default_language' => 'en',
115 115
 
116
-	/*
116
+    /*
117 117
 	|--------------------------------------------------------------------------
118 118
 	| Registering Namespaces
119 119
 	|--------------------------------------------------------------------------
@@ -134,11 +134,11 @@  discard block
 block discarded – undo
134 134
 	|
135 135
 	*/
136 136
 
137
-	'namespaces' => array(
138
-		'Modules\Common' => APPLICATION_PATH . 'modules/common/',
139
-	),
137
+    'namespaces' => array(
138
+        'Modules\Common' => APPLICATION_PATH . 'modules/common/',
139
+    ),
140 140
 
141
-	/*
141
+    /*
142 142
 	|--------------------------------------------------------------------------
143 143
 	| Module Registration
144 144
 	|--------------------------------------------------------------------------
@@ -156,14 +156,14 @@  discard block
 block discarded – undo
156 156
 	|
157 157
 	*/
158 158
 
159
-	'modules' => array(
160
-		'common' => array(
161
-			'className' => 'Modules\Common\Module',
162
-			'path' => APPLICATION_PATH . 'modules/common/module.php'
163
-		)
164
-	),
159
+    'modules' => array(
160
+        'common' => array(
161
+            'className' => 'Modules\Common\Module',
162
+            'path' => APPLICATION_PATH . 'modules/common/module.php'
163
+        )
164
+    ),
165 165
 
166
-	/*
166
+    /*
167 167
 	|--------------------------------------------------------------------------
168 168
 	| Default settings (MVC)
169 169
 	|--------------------------------------------------------------------------
@@ -173,13 +173,13 @@  discard block
 block discarded – undo
173 173
 	|
174 174
 	*/
175 175
 
176
-	'default_namespace' 	=> 'Modules\Common\Controllers',
177
-	'default_module' 		=> 'common',
178
-	'default_controller' 	=> 'index',
179
-	'default_method' 		=> 'index',
176
+    'default_namespace' 	=> 'Modules\Common\Controllers',
177
+    'default_module' 		=> 'common',
178
+    'default_controller' 	=> 'index',
179
+    'default_method' 		=> 'index',
180 180
 
181 181
 	
182
-	/*
182
+    /*
183 183
 	|--------------------------------------------------------------------------
184 184
 	| Default settings (Task)
185 185
 	|--------------------------------------------------------------------------
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
 	|
190 190
 	*/
191 191
 
192
-	'default_task' 			=> 'main',
193
-	'default_action' 		=> 'main',
192
+    'default_task' 			=> 'main',
193
+    'default_action' 		=> 'main',
194 194
 
195
-	/*
195
+    /*
196 196
 	|--------------------------------------------------------------------------
197 197
 	| Extra/Trailing slashes
198 198
 	|--------------------------------------------------------------------------
@@ -204,9 +204,9 @@  discard block
 block discarded – undo
204 204
 	|
205 205
 	*/
206 206
 
207
-	'extra_slashes' => true,
207
+    'extra_slashes' => true,
208 208
 
209
-	/*
209
+    /*
210 210
 	|--------------------------------------------------------------------------
211 211
 	| Application Debug Mode
212 212
 	|--------------------------------------------------------------------------
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
 	|
218 218
 	*/
219 219
 
220
-	'debug' => FALSE,
220
+    'debug' => FALSE,
221 221
 
222
-	/*
222
+    /*
223 223
 	|--------------------------------------------------------------------------
224 224
 	| Do you need HTML Minification ?
225 225
 	|--------------------------------------------------------------------------
@@ -229,9 +229,9 @@  discard block
 block discarded – undo
229 229
 	|
230 230
 	*/
231 231
 
232
-	'html_minify' => true,
232
+    'html_minify' => true,
233 233
 
234
-	/*
234
+    /*
235 235
 	|--------------------------------------------------------------------------
236 236
 	| Application URL
237 237
 	|--------------------------------------------------------------------------
@@ -242,9 +242,9 @@  discard block
 block discarded – undo
242 242
 	|
243 243
 	*/
244 244
 
245
-	'base_url' => null,
245
+    'base_url' => null,
246 246
 
247
-	/*
247
+    /*
248 248
 	|--------------------------------------------------------------------------
249 249
 	| Application Timezone
250 250
 	|--------------------------------------------------------------------------
@@ -255,9 +255,9 @@  discard block
 block discarded – undo
255 255
 	|
256 256
 	*/
257 257
 
258
-	'timezone' => 'UTC',
258
+    'timezone' => 'UTC',
259 259
 
260
-	/*
260
+    /*
261 261
 	|--------------------------------------------------------------------------
262 262
 	| Encryption of Cookies
263 263
 	|--------------------------------------------------------------------------
@@ -269,9 +269,9 @@  discard block
 block discarded – undo
269 269
 	|
270 270
 	*/
271 271
 
272
-	'cookie_encryption' => true,
272
+    'cookie_encryption' => true,
273 273
 
274
-	/*
274
+    /*
275 275
 	|--------------------------------------------------------------------------
276 276
 	| Encryption Key
277 277
 	|--------------------------------------------------------------------------
@@ -282,9 +282,9 @@  discard block
 block discarded – undo
282 282
 	|
283 283
 	*/
284 284
 
285
-	'key' => 'this-is-my-secret-key',
285
+    'key' => 'this-is-my-secret-key',
286 286
 
287
-	/*
287
+    /*
288 288
 	|--------------------------------------------------------------------------
289 289
 	| Encryption Type
290 290
 	|--------------------------------------------------------------------------
@@ -294,9 +294,9 @@  discard block
 block discarded – undo
294 294
 	|
295 295
 	*/
296 296
 
297
-	'cipher' => MCRYPT_RIJNDAEL_256,
297
+    'cipher' => MCRYPT_RIJNDAEL_256,
298 298
 
299
-	/*
299
+    /*
300 300
 	|--------------------------------------------------------------------------
301 301
 	| Encryption Type
302 302
 	|--------------------------------------------------------------------------
@@ -305,9 +305,9 @@  discard block
 block discarded – undo
305 305
 	|
306 306
 	*/
307 307
 
308
-	'encryption_mode' => 'ecb',
308
+    'encryption_mode' => 'ecb',
309 309
 
310
-	/*
310
+    /*
311 311
 	|--------------------------------------------------------------------------
312 312
 	| Work Factor
313 313
 	|--------------------------------------------------------------------------
@@ -316,9 +316,9 @@  discard block
 block discarded – undo
316 316
 	|
317 317
 	*/
318 318
 
319
-	'work_factor' => 12,
319
+    'work_factor' => 12,
320 320
 
321
-	/*
321
+    /*
322 322
 	|--------------------------------------------------------------------------
323 323
 	| Application Path Registration
324 324
 	|--------------------------------------------------------------------------
@@ -342,13 +342,13 @@  discard block
 block discarded – undo
342 342
 	|
343 343
 	*/
344 344
 
345
-	'paths' => array(
346
-		APPLICATION_PATH . 'controllers/',
345
+    'paths' => array(
346
+        APPLICATION_PATH . 'controllers/',
347 347
         APPLICATION_PATH . 'models/',
348 348
         APPLICATION_PATH . 'tasks/'
349 349
     ),
350 350
 
351
-	/*
351
+    /*
352 352
 	|--------------------------------------------------------------------------
353 353
 	| Application Classes Registration
354 354
 	|--------------------------------------------------------------------------
@@ -370,9 +370,9 @@  discard block
 block discarded – undo
370 370
 	|
371 371
 	*/
372 372
 
373
-	'classes' => array(),
373
+    'classes' => array(),
374 374
 
375
-	/*
375
+    /*
376 376
 	|--------------------------------------------------------------------------
377 377
 	| Registering Prefixes
378 378
 	|--------------------------------------------------------------------------
@@ -394,9 +394,9 @@  discard block
 block discarded – undo
394 394
 	|
395 395
 	*/
396 396
 
397
-	'prefixes' => array(),
397
+    'prefixes' => array(),
398 398
 
399
-	/*
399
+    /*
400 400
 	|--------------------------------------------------------------------------
401 401
 	| Additional File Extensions
402 402
 	|--------------------------------------------------------------------------
@@ -408,9 +408,9 @@  discard block
 block discarded – undo
408 408
 	|
409 409
 	*/
410 410
 
411
-	'extensions' => array("php"),
411
+    'extensions' => array("php"),
412 412
 
413
-	/*
413
+    /*
414 414
 	|--------------------------------------------------------------------------
415 415
 	| Default libraries
416 416
 	|--------------------------------------------------------------------------
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
 	|
419 419
 	*/
420 420
 
421
-	'libraries' => array(
422
-		'session' => '\Phalcon\Session\Adapter\Files'
423
-	)
421
+    'libraries' => array(
422
+        'session' => '\Phalcon\Session\Adapter\Files'
423
+    )
424 424
 );
425 425
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
 	|
26 26
 	*/
27 27
 
28
-	'databases' => array (
29
-		'db' => array (
28
+	'databases' => array(
29
+		'db' => array(
30 30
 	        'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
-	        'config' => array (
31
+	        'config' => array(
32 32
 	        	'host' => '127.0.0.1',
33 33
 				'port' => 3306,
34 34
 		        'username' => 'root',
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 		'.volt' => array(
57 57
 			'type' => '\Phalcon\Mvc\View\Engine\Volt',
58 58
 			'options' => array(
59
-			'compiledPath' => STORAGE_PATH . 'framework/views/',
59
+			'compiledPath' => STORAGE_PATH.'framework/views/',
60 60
 			'compiledSeparator' => '_',
61 61
 			'compiledExtension' => '.compiled',
62 62
 			'stat' => true
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 	*/
136 136
 
137 137
 	'namespaces' => array(
138
-		'Modules\Common' => APPLICATION_PATH . 'modules/common/',
138
+		'Modules\Common' => APPLICATION_PATH.'modules/common/',
139 139
 	),
140 140
 
141 141
 	/*
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 	'modules' => array(
160 160
 		'common' => array(
161 161
 			'className' => 'Modules\Common\Module',
162
-			'path' => APPLICATION_PATH . 'modules/common/module.php'
162
+			'path' => APPLICATION_PATH.'modules/common/module.php'
163 163
 		)
164 164
 	),
165 165
 
@@ -343,9 +343,9 @@  discard block
 block discarded – undo
343 343
 	*/
344 344
 
345 345
 	'paths' => array(
346
-		APPLICATION_PATH . 'controllers/',
347
-        APPLICATION_PATH . 'models/',
348
-        APPLICATION_PATH . 'tasks/'
346
+		APPLICATION_PATH.'controllers/',
347
+        APPLICATION_PATH.'models/',
348
+        APPLICATION_PATH.'tasks/'
349 349
     ),
350 350
 
351 351
 	/*
Please login to merge, or discard this patch.