aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/DataFixtures/ORM
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-02-22 14:18:34 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-02-22 14:18:34 +0100
commit2aadeea8cd968a2e32631b166097748611a520f6 (patch)
tree2a167eaae0edea08060abfd132aec3c4a7239207 /src/Wallabag/CoreBundle/DataFixtures/ORM
parent2b71f68c95acd20b9ee5e6dc4d67a1ec649fc440 (diff)
parentb6c00b0b807108cd54ab32fa73f9c196f4f12d97 (diff)
downloadwallabag-2aadeea8cd968a2e32631b166097748611a520f6.tar.gz
wallabag-2aadeea8cd968a2e32631b166097748611a520f6.tar.zst
wallabag-2aadeea8cd968a2e32631b166097748611a520f6.zip
Merge pull request #1683 from wallabag/v2-demo
Demonstration mode to prevent password changes
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures/ORM')
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
index 10b60f30..1f4cafdf 100644
--- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
+++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php
@@ -125,6 +125,16 @@ class LoadSettingData extends AbstractFixture implements OrderedFixtureInterface
125 'value' => '1', 125 'value' => '1',
126 'section' => 'analytics', 126 'section' => 'analytics',
127 ], 127 ],
128 [
129 'name' => 'demo_mode_enabled',
130 'value' => '0',
131 'section' => 'misc',
132 ],
133 [
134 'name' => 'demo_mode_username',
135 'value' => 'wallabag',
136 'section' => 'misc',
137 ],
128 ]; 138 ];
129 139
130 foreach ($settings as $setting) { 140 foreach ($settings as $setting) {