1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/conf/noalyss.conf

77 lines
2.8 KiB
Text
Raw Normal View History

2020-11-28 10:09:39 +01:00
<?php
2022-03-13 15:55:16 +01:00
date_default_timezone_set ('__TIMEZONE__');
2015-09-27 17:43:00 +02:00
$_ENV['TMP']='/tmp';
define("PG_PATH","/usr/bin");
define("PG_RESTORE","/usr/bin/pg_restore ");
define("PG_DUMP","/usr/bin/pg_dump ");
2020-11-28 10:09:39 +01:00
define ("PSQL","/usr/bin/psql");
2022-04-14 08:49:07 +02:00
define ("noalyss_user","__DB_USER__");
2021-03-01 11:36:32 +01:00
define ("noalyss_password","__DB_PWD__");
2020-11-28 10:09:39 +01:00
define ("noalyss_psql_port","5432");
define ("noalyss_psql_host","localhost");
2020-11-28 10:09:39 +01:00
// If you change the NOALYSS_ADMINISTRATOR , you will need to rerun http://..../noalyss/html/install.php
// But it doesn't change the password
2020-11-28 13:23:34 +01:00
define ("NOALYSS_ADMINISTRATOR","__ADMIN__");
2020-11-28 10:09:39 +01:00
// used only for install
2021-03-01 11:36:32 +01:00
define ("NOALYSS_ADMIN_PASSWORD","__PASSWORD__");
2020-11-28 10:09:39 +01:00
define ("LOCALE",1);
2022-04-14 11:17:31 +02:00
define ("domaine","");
2020-11-28 10:09:39 +01:00
define ("MULTI",1);
2022-04-14 08:49:07 +02:00
define ("dbname","__DB_NAME__");
2020-11-28 10:09:39 +01:00
// Uncomment to DEBUG
2022-04-14 11:17:31 +02:00
define ("DEBUG",TRUE);
// Uncomment to log your input
2015-09-27 17:43:00 +02:00
// define ("LOGINPUT",TRUE);
2020-11-28 10:09:39 +01:00
// Uncomment if you want to activate the possibility to reinitialize
// password by email
// defined("RECOVER","1");
// Uncomment and define if you want to Name of the sender of the email
// if you activate the possibility to reinitialize password by email
// define('ADMIN_WEB', 'www-data@localhost');
2015-09-27 17:43:00 +02:00
2020-11-28 10:09:39 +01:00
// Do not change below !!!
// These variable are computed but could be changed in
// very special configuration
2015-09-27 17:43:00 +02:00
// define ("NOALYSS_HOME","");
// define ("NOALYSS_PLUGIN","");
// define ("NOALYSS_INCLUDE","");
// define ("NOALYSS_TEMPLATE","");
2020-11-28 10:09:39 +01:00
// Fix an issue with PDF when exporting receipt in PDF in ANCGL ,only for very
// old package of tkpdf ( before 2012)
// define ("FIX_BROKEN_PDF","NO");
2015-09-27 17:43:00 +02:00
2020-11-28 10:09:39 +01:00
// Uncomment if you don't want
// to be informed when a new release is
2015-09-27 17:43:00 +02:00
// published
// define ("SITE_UPDATE","");
// define ("SITE_UPDATE_PLUGIN","");
2020-11-28 10:09:39 +01:00
// To allow to access the Info system
// define ("SYSINFO_DISPLAY",true);
// For developpement
// define ("NOALYSS VERSION",9999);
// If you want to override the parameters you have to define OVERRIDE_PARAM
// and give your own parameters for max_execution_time and memory limit
// define ('OVERRIDE_PARAM',1);
// ini_set ('max_execution_time',240);
// ini_set ('memory_limit','256M');
// For converting file to PDF
// define ('OFFICE','/usr/bin/unoconv');
// define ('GENERATE_PDF','YES');
// If you want to use open_basedir or if you are limited by the server's config
// you can uncomment this
// after replace NOALYSS_HOME by the path of the local installation of Noalyss
// ini_alter("open_basedir", "/usr/bin:/tmp/:NOALYSS_HOME");
// In recent distribution linux, pdftk is a snap, you should set the path
// for exporting document in PDF
// $pdftk = /usr/bin/pdftk
2021-03-01 11:36:32 +01:00
// $pdftk = /snap/bin/pdftk
// Define a random session key if you work with different version of NOALYSS
// define ('SESSION_KEY','abcde');
// Max size is defined by default to 2MB, it could be also needed to modify PHP Ini file
// define ("MAX_FILE_SIZE",2097152);