YunoHost-Apps / cloudlog_ynh

CloudLog package for YunoHost
https://www.cloudlog.co.uk/
GNU General Public License v3.0
1 stars 1 forks source link

Install without developer mode #26

Open tompatulpan opened 10 months ago

tompatulpan commented 10 months ago

If possible it would be nice to install and/or start without the default "developer mode".

Change define('ENVIRONMENT', 'development'); to define('ENVIRONMENT', 'production');

ericgaspar commented 8 months ago

define('ENVIRONMENT', 'production');

Where is this to be changed?

tompatulpan commented 8 months ago

Hi, eric! Thanks for looking in to this.

It is located in $ /var/www/cloudlog/index.php

*---------------------------------------------------------------
 * APPLICATION ENVIRONMENT
 *---------------------------------------------------------------

 */
        #define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
        define('ENVIRONMENT', 'development');

Change "development" to "production"

define('ENVIRONMENT', 'production');