Skip to content

Commit 89bbcac

Browse files
committed
Fixed styling errors with chriskacerguis#601
1 parent 4771070 commit 89bbcac

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

application/config/rest.php

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -528,20 +528,19 @@
528528
| CORS Check
529529
|--------------------------------------------------------------------------
530530
|
531-
| Set to true to enable Cross-Origin Resource Sharing (CORS). Useful if you
532-
| are hosting your API on a different domain from the appolication that
533-
| will access it through a browser.
531+
| Set to TRUE to enable Cross-Origin Resource Sharing (CORS). Useful if you
532+
| are hosting your API on a different domain from the application that
533+
| will access it through a browser
534534
|
535535
*/
536-
$config['check_cors'] = false;
536+
$config['check_cors'] = FALSE;
537537

538538
/*
539539
|--------------------------------------------------------------------------
540540
| CORS Allowable Headers
541541
|--------------------------------------------------------------------------
542542
|
543-
| If using CORS checks, set the allowable headers here. Add any custom headers you may
544-
| be using in tyou application to the array
543+
| If using CORS checks, set the allowable headers here
545544
|
546545
*/
547546
$config['allowed_cors_headers'] = [
@@ -557,7 +556,7 @@
557556
| CORS Allowable Methods
558557
|--------------------------------------------------------------------------
559558
|
560-
| If using CORS checks, you can set the methods you want to be allowed here.
559+
| If using CORS checks, you can set the methods you want to be allowed
561560
|
562561
*/
563562
$config['allowed_cors_methods'] = [
@@ -574,22 +573,21 @@
574573
| CORS Allow Any Domain
575574
|--------------------------------------------------------------------------
576575
|
577-
| Set to true to enable Cross-Origin Resource Sharing (CORS) from any
578-
| source domain
576+
| Set to TRUE to enable Cross-Origin Resource Sharing (CORS) from any
577+
| source domain
579578
|
580579
*/
581-
$config['allow_any_cors_domain'] = false;
580+
$config['allow_any_cors_domain'] = FALSE;
582581

583582
/*
584583
|--------------------------------------------------------------------------
585584
| CORS Allowable Domains
586585
|--------------------------------------------------------------------------
587586
|
588-
| Used if $config['check_cors'] is set to true and $config['allow_any_cors_domain']
589-
| is set to false. Set all the allowable domains within the array.
587+
| Used if $config['check_cors'] is set to TRUE and $config['allow_any_cors_domain']
588+
| is set to FALSE. Set all the allowable domains within the array
590589
|
591590
| e.g. $config['allowed_origins'] = ['http://www.example.com', 'https://spa.example.com']
592591
|
593592
*/
594593
$config['allowed_cors_origins'] = [];
595-

0 commit comments

Comments
 (0)