summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-14 20:55:48 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-15 17:03:16 +0100
commit9ef7340dc74109e0bd9e0db75ad612a9b48fe920 (patch)
tree2648c00de33acf045599f92514251e6decd029ca /tests/data
parentd1978a69500cb39e6aa542e55666b0f8f32d704a (diff)
downloadnextcloud-server-9ef7340dc74109e0bd9e0db75ad612a9b48fe920.tar.gz
nextcloud-server-9ef7340dc74109e0bd9e0db75ad612a9b48fe920.zip
Add support for custom values in integrity checker
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess24
-rw-r--r--tests/data/integritycheck/htaccessWithValidModifiedContent/.user.ini7
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess b/tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess
index 33d4437c928..596d6718a88 100644
--- a/tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess
+++ b/tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess
@@ -1,4 +1,28 @@
# Start of valid file
+<IfModule mod_php5.c>
+ php_value upload_max_filesize 519M
+ php_value post_max_size 519M
+ php_value memory_limit 512M
+ php_value mbstring.func_overload 0
+ php_value always_populate_raw_post_data -1
+ php_value default_charset 'UTF-8'
+ php_value output_buffering 0
+ <IfModule mod_env.c>
+ SetEnv htaccessWorking true
+ </IfModule>
+</IfModule>
+<IfModule mod_php7.c>
+ php_value upload_max_filesize 519M
+ php_value post_max_size 519M
+ php_value memory_limit 512M
+ php_value mbstring.func_overload 0
+ php_value always_populate_raw_post_data -1
+ php_value default_charset 'UTF-8'
+ php_value output_buffering 0
+ <IfModule mod_env.c>
+ SetEnv htaccessWorking true
+ </IfModule>
+</IfModule>
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
# Content that should change the hash in the root folder \ No newline at end of file
diff --git a/tests/data/integritycheck/htaccessWithValidModifiedContent/.user.ini b/tests/data/integritycheck/htaccessWithValidModifiedContent/.user.ini
new file mode 100644
index 00000000000..90959b1e649
--- /dev/null
+++ b/tests/data/integritycheck/htaccessWithValidModifiedContent/.user.ini
@@ -0,0 +1,7 @@
+upload_max_filesize=519M
+post_max_size=519M
+memory_limit=512M
+mbstring.func_overload=0
+always_populate_raw_post_data=-1
+default_charset='UTF-8'
+output_buffering=0