diff --git a/Dockerfile b/Dockerfile index d2d8a6a57..74ec09cc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,12 @@ FROM php:5-apache MAINTAINER jekkos RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ php5-gd \ - php5-apcu + php5-apcu \ + libicu-dev RUN a2enmod rewrite -RUN docker-php-ext-install mysql mysqli bcmath +RUN docker-php-ext-install mysql mysqli bcmath intl +RUN echo "date.timezone = \"UTC\"" > /usr/local/etc/php/conf.d/timezone.ini WORKDIR /app COPY . /app diff --git a/application/controllers/Config.php b/application/controllers/Config.php index 3049bea2f..44e2b1948 100644 --- a/application/controllers/Config.php +++ b/application/controllers/Config.php @@ -117,8 +117,8 @@ class Config extends Secure_Controller 'receiving_calculate_average_price' => $this->input->post('receiving_calculate_average_price') != NULL, 'lines_per_page' => $this->input->post('lines_per_page'), 'default_sales_discount' => $this->input->post('default_sales_discount'), - 'config_notify_horizontal_position' => $this->input->post('config_notify_horizontal_position'), - 'config_notify_vertical_position' => $this->input->post('config_notify_vertical_position'), + 'notify_horizontal_position' => $this->input->post('notify_horizontal_position'), + 'notify_vertical_position' => $this->input->post('notify_vertical_position'), 'custom1_name' => $this->input->post('custom1_name'), 'custom2_name' => $this->input->post('custom2_name'), 'custom3_name' => $this->input->post('custom3_name'), diff --git a/application/views/configs/general_config.php b/application/views/configs/general_config.php index 42113d645..16dd357ed 100644 --- a/application/views/configs/general_config.php +++ b/application/views/configs/general_config.php @@ -96,23 +96,23 @@