You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #35 from stephenlawrence/issue34-config-file-location
issue34-config-file-location - add config option for composer
The library checks for config location { path relative to lib | composer config} and use one that exist.
Copy file name to clipboardExpand all lines: readme.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,12 @@ php composer.phar install
23
23
```
24
24
This will add CSRFP (library will be downloaded at ./vendor/owasp/csrf-protector-php) to your project directory. View [packagist.org](https://packagist.org/) for more help with composer!
25
25
26
+
Configuration
27
+
==========
28
+
For composer installations: Copy the config.sample.php file into your root folder at config/csrf_config.php
29
+
For non-composer installations: Copy the libs/csrf/config.sample.php file into libs/csrc/config.php
30
+
Edit config accordingly. See Detailed Information link below.
0 commit comments