1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<?php
/**
* This file is part of Zoph.
*
* Zoph is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Zoph is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with Zoph; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package Zoph
* @author Jeroen Roos
* @author Jason Geiger
*/
// This file should contain the following settings:
// VERSION, RELEASEDATE, INI_FILE, THUMB_SIZE, MID_SIZE, THUMB_PREFIX, MID_PREFIX, LOG_ALWAYS
// LOG_SEVERITY, LOG_SUBJECT.
// All other settings are now made from the webinterface
define('VERSION', '1.4');
define('RELEASEDATE', '05-07-2024');
// INI FILE is already defined when using CLI and when running tests
if (!defined("INI_FILE")) {
define('INI_FILE', "/etc/zoph.ini");
}
define('THUMB_SIZE', 120);
define('MID_SIZE', 480);
define('THUMB_PREFIX', 'thumb');
define('MID_PREFIX', 'mid');
// LOG_ALWAYS and LOG_SEVERITY can have the following values:
// log::DEBUG, log::NOTIFY, log::WARN, log::ERROR, log::FATAL, log::MSG, log::NONE
// Always show fatal errors
define('LOG_ALWAYS', log::FATAL);
// Use the next options to show errors on a specific subject
// You can use the following subjects:
// log::VARS, log::LANG, log::LOGIN, log::REDIRECT, log::IMPORT,
// log::DB, log::SQL, log::XML, log:IMG, log::GENERAL, log::ALL
// Combine several subjects with | and |~
// For example to see SQL and LANG errors, log::SQL | log::LANG
// to see all errors except redirect log::ALL | ~log::REDIRECT
// all erros except SQL and LANG: log::ALL | ~(log::SQL |log::LANG)
define('LOG_SEVERITY', log::NONE);
define('LOG_SUBJECT', log::NONE);
?>
|