File tree Expand file tree Collapse file tree 12 files changed +57
-30
lines changed Expand file tree Collapse file tree 12 files changed +57
-30
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,16 @@ RUN { \
8282
8383RUN a2enmod rewrite;
8484
85- ENV ESPOCRM_VERSION 7.0.8
86- ENV ESPOCRM_SHA256 d9cb6b1d6bdd4a283aeb5fb37f2253ba7822195de0a1324d65a3865ae7523598
85+ ENV ESPOCRM_VERSION 7.0.9
86+ ENV ESPOCRM_SHA256 b221f639b8f7a709e7646560cc8ea4883f74f82e4d2556b6952d828df4a77428
8787
8888WORKDIR /var/www/html
8989
9090RUN set -ex; \
91- curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.8 .zip" -o EspoCRM.zip; \
91+ curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.9 .zip" -o EspoCRM.zip; \
9292 echo "${ESPOCRM_SHA256} *EspoCRM.zip" | sha256sum -c -; \
9393 unzip -q EspoCRM.zip -d /usr/src; \
94- mv "/usr/src/EspoCRM-7.0.8 " /usr/src/espocrm; \
94+ mv "/usr/src/EspoCRM-7.0.9 " /usr/src/espocrm; \
9595 rm EspoCRM.zip; \
9696 chown -R www-data:www-data /usr/src/espocrm
9797
Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ saveConfigParam() {
6666 \$ config = \$ app->getContainer()->get('config');
6767
6868 if (\$ config->get('$name ') !== $value ) {
69- \$ config->set('$name ', $value );
70- \$ config->save();
69+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
70+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
71+
72+ \$ configWriter->set('$name ', $value );
73+ \$ configWriter->save();
7174 }
7275 "
7376}
Original file line number Diff line number Diff line change @@ -64,8 +64,11 @@ saveConfigParam() {
6464 \$ config = \$ app->getContainer()->get('config');
6565
6666 if (\$ config->get('$name ') !== $value ) {
67- \$ config->set('$name ', $value );
68- \$ config->save();
67+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
68+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
69+
70+ \$ configWriter->set('$name ', $value );
71+ \$ configWriter->save();
6972 }
7073 "
7174}
Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ saveConfigParam() {
6666 \$ config = \$ app->getContainer()->get('config');
6767
6868 if (\$ config->get('$name ') !== $value ) {
69- \$ config->set('$name ', $value );
70- \$ config->save();
69+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
70+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
71+
72+ \$ configWriter->set('$name ', $value );
73+ \$ configWriter->save();
7174 }
7275 "
7376}
Original file line number Diff line number Diff line change @@ -52,16 +52,16 @@ RUN { \
5252 echo 'date.timezone=UTC' ; \
5353} > ${PHP_INI_DIR}/conf.d/espocrm.ini
5454
55- ENV ESPOCRM_VERSION 7.0.8
56- ENV ESPOCRM_SHA256 d9cb6b1d6bdd4a283aeb5fb37f2253ba7822195de0a1324d65a3865ae7523598
55+ ENV ESPOCRM_VERSION 7.0.9
56+ ENV ESPOCRM_SHA256 b221f639b8f7a709e7646560cc8ea4883f74f82e4d2556b6952d828df4a77428
5757
5858WORKDIR /var/www/html
5959
6060RUN set -ex; \
61- curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.8 .zip" -o EspoCRM.zip; \
61+ curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.9 .zip" -o EspoCRM.zip; \
6262 echo "${ESPOCRM_SHA256} *EspoCRM.zip" | sha256sum -c -; \
6363 unzip -q EspoCRM.zip -d /usr/src; \
64- mv "/usr/src/EspoCRM-7.0.8 " /usr/src/espocrm; \
64+ mv "/usr/src/EspoCRM-7.0.9 " /usr/src/espocrm; \
6565 rm EspoCRM.zip; \
6666 chown -R www-data:www-data /usr/src/espocrm
6767
Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ saveConfigParam() {
6666 \$ config = \$ app->getContainer()->get('config');
6767
6868 if (\$ config->get('$name ') !== $value ) {
69- \$ config->set('$name ', $value );
70- \$ config->save();
69+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
70+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
71+
72+ \$ configWriter->set('$name ', $value );
73+ \$ configWriter->save();
7174 }
7275 "
7376}
Original file line number Diff line number Diff line change @@ -64,8 +64,11 @@ saveConfigParam() {
6464 \$ config = \$ app->getContainer()->get('config');
6565
6666 if (\$ config->get('$name ') !== $value ) {
67- \$ config->set('$name ', $value );
68- \$ config->save();
67+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
68+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
69+
70+ \$ configWriter->set('$name ', $value );
71+ \$ configWriter->save();
6972 }
7073 "
7174}
Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ saveConfigParam() {
6666 \$ config = \$ app->getContainer()->get('config');
6767
6868 if (\$ config->get('$name ') !== $value ) {
69- \$ config->set('$name ', $value );
70- \$ config->save();
69+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
70+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
71+
72+ \$ configWriter->set('$name ', $value );
73+ \$ configWriter->save();
7174 }
7275 "
7376}
Original file line number Diff line number Diff line change @@ -80,16 +80,16 @@ RUN { \
8080 echo 'date.timezone=UTC' ; \
8181} > ${PHP_INI_DIR}/conf.d/espocrm.ini
8282
83- ENV ESPOCRM_VERSION 7.0.8
84- ENV ESPOCRM_SHA256 d9cb6b1d6bdd4a283aeb5fb37f2253ba7822195de0a1324d65a3865ae7523598
83+ ENV ESPOCRM_VERSION 7.0.9
84+ ENV ESPOCRM_SHA256 b221f639b8f7a709e7646560cc8ea4883f74f82e4d2556b6952d828df4a77428
8585
8686WORKDIR /var/www/html
8787
8888RUN set -ex; \
89- curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.8 .zip" -o EspoCRM.zip; \
89+ curl -fSL "https://www.espocrm.com/downloads/EspoCRM-7.0.9 .zip" -o EspoCRM.zip; \
9090 echo "${ESPOCRM_SHA256} *EspoCRM.zip" | sha256sum -c -; \
9191 unzip -q EspoCRM.zip -d /usr/src; \
92- mv "/usr/src/EspoCRM-7.0.8 " /usr/src/espocrm; \
92+ mv "/usr/src/EspoCRM-7.0.9 " /usr/src/espocrm; \
9393 rm EspoCRM.zip; \
9494 chown -R www-data:www-data /usr/src/espocrm
9595
Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ saveConfigParam() {
6666 \$ config = \$ app->getContainer()->get('config');
6767
6868 if (\$ config->get('$name ') !== $value ) {
69- \$ config->set('$name ', $value );
70- \$ config->save();
69+ \$ injectableFactory = \$ app->getContainer()->get('injectableFactory');
70+ \$ configWriter = \$ injectableFactory->create('\\ Espo\\ Core\\ Utils\\ Config\\ ConfigWriter');
71+
72+ \$ configWriter->set('$name ', $value );
73+ \$ configWriter->save();
7174 }
7275 "
7376}
You can’t perform that action at this time.
0 commit comments