commit
d6a93b110e
@ -1,14 +1,15 @@ |
||||
<?php |
||||
|
||||
/** |
||||
============================================================================== |
||||
* This file holds the configuration constants and variables |
||||
* for the add course tool. |
||||
* |
||||
* @package dokeos.configuration |
||||
============================================================================== |
||||
*/ |
||||
$firstExpirationDelay = 31536000; // <- 86400*365 // 60*60*24 = 1 jour = 86400 |
||||
$defaultVisibilityForANewCourse = 2; |
||||
$prefixAntiNumber ="z"; |
||||
$DEBUG=FALSE; |
||||
* This file holds the configuration constants and variables |
||||
* for the add course tool. |
||||
* |
||||
* @package chamilo.configuration |
||||
*/ |
||||
|
||||
$firstExpirationDelay = 31536000; // <- 86400*365 // 60*60*24 = 1 jour = 86400 |
||||
$defaultVisibilityForANewCourse = 2; |
||||
$prefixAntiNumber = 'z'; |
||||
$DEBUG = false; |
||||
|
||||
?> |
@ -1,66 +1,45 @@ |
||||
<?php |
||||
/* |
||||
============================================================================== |
||||
Dokeos - elearning and course management software |
||||
|
||||
Copyright (c) 2008 Dokeos SPRL |
||||
|
||||
For a full list of contributors, see "credits.txt". |
||||
The full license can be read in "license.txt". |
||||
|
||||
This program 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. |
||||
|
||||
See the GNU General Public License for more details. |
||||
|
||||
Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium |
||||
Mail: info@dokeos.com |
||||
============================================================================== |
||||
*/ |
||||
|
||||
/** |
||||
============================================================================== |
||||
* This file holds the configuration constants and variables |
||||
* for the course info tool. |
||||
* |
||||
* @package dokeos.configuration |
||||
============================================================================== |
||||
*/ |
||||
* This file holds the configuration constants and variables |
||||
* for the course info tool. |
||||
* |
||||
* @package chamilo.configuration |
||||
*/ |
||||
|
||||
$course_info_is_editable = true; |
||||
/* |
||||
//if (basename($_SERVER["SCRIPT_FILENAME"])==basename(__FILE__)) die("Va voir ailleurs"); |
||||
$showLinkToExportThisCourse = TRUE; |
||||
$showLinkToBackupThisCourse = TRUE; |
||||
$showLinkToRecycleThisCourse = TRUE; |
||||
$showLinkToRestoreCourse = TRUE; |
||||
$showLinkToCopyThisCourse = TRUE; |
||||
//if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)) die('Va voir ailleurs'); |
||||
$showLinkToExportThisCourse = true; |
||||
$showLinkToBackupThisCourse = true; |
||||
$showLinkToRecycleThisCourse = true; |
||||
$showLinkToRestoreCourse = true; |
||||
$showLinkToCopyThisCourse = true; |
||||
*/ |
||||
// If true, these fileds keep the previous content. |
||||
/* |
||||
$canBeEmpty["screenCode"] = FALSE; |
||||
$canBeEmpty["course_title"] = FALSE; |
||||
$canBeEmpty["course_category"] = TRUE; |
||||
$canBeEmpty["description"] = TRUE; |
||||
$canBeEmpty["visibility"] = FALSE; |
||||
$canBeEmpty["titulary"] = FALSE; |
||||
$canBeEmpty["course_language"]= FALSE; |
||||
$canBeEmpty["department_name"] = TRUE; |
||||
$canBeEmpty["department_url"] = TRUE; |
||||
$canBeEmpty['screenCode'] = false; |
||||
$canBeEmpty['course_title'] = false; |
||||
$canBeEmpty['course_category'] = true; |
||||
$canBeEmpty['description'] = true; |
||||
$canBeEmpty['visibility'] = false; |
||||
$canBeEmpty['titulary'] = false; |
||||
$canBeEmpty['course_language'] = false; |
||||
$canBeEmpty['department_name'] = true; |
||||
$canBeEmpty['department_url'] = true; |
||||
*/ |
||||
|
||||
$showDiskQuota = TRUE; |
||||
//$showDiskUse = TRUE; |
||||
//$showLinkToChangeDiskQuota = TRUE; |
||||
$showExpirationDate = TRUE; |
||||
$showCreationDate = TRUE; |
||||
$showLastEdit = TRUE; |
||||
$showLastVisit = TRUE; |
||||
$canReportExpirationDate = TRUE; // need to be true |
||||
// if ScriptToReportExpirationDate |
||||
// is not automaticly called |
||||
//$linkToChangeDiskQuota = "changeQuota.php"; |
||||
$urlScriptToReportExpirationDate = "postpone.php"; // external script to postpone the expiration of course. |
||||
?> |
||||
$showDiskQuota = true; |
||||
//$showDiskUse = true; |
||||
//$showLinkToChangeDiskQuota = true; |
||||
$showExpirationDate = true; |
||||
$showCreationDate = true; |
||||
$showLastEdit = true; |
||||
$showLastVisit = true; |
||||
$canReportExpirationDate = true; // Needs to be true |
||||
// if ScriptToReportExpirationDate |
||||
// is not automaticly called |
||||
//$linkToChangeDiskQuota = 'changeQuota.php'; |
||||
$urlScriptToReportExpirationDate = 'postpone.php'; // external script to postpone the expiration of course. |
||||
|
||||
?> |
@ -1,17 +1,20 @@ |
||||
<?php |
||||
|
||||
// ============================== mail ================================= |
||||
/** |
||||
* This file holds the configuration settings |
||||
* for phpmailer Class. |
||||
* |
||||
* @package chamilo.configuration |
||||
*/ |
||||
|
||||
// smtp values for phpmailer Class |
||||
$platform_email['SMTP_FROM_EMAIL'] = $administrator["email"]; |
||||
$platform_email['SMTP_FROM_NAME'] = $administrator["name"]; |
||||
$platform_email['SMTP_FROM_EMAIL'] = $administrator['email']; |
||||
$platform_email['SMTP_FROM_NAME'] = $administrator['name']; |
||||
$platform_email['SMTP_HOST'] = 'localhost'; |
||||
$platform_email['SMTP_PORT'] = 25; |
||||
$platform_email['SMTP_MAILER'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; //mail, sendmail or smtp |
||||
$platform_email['SMTP_MAILER'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // mail, sendmail or smtp |
||||
$platform_email['SMTP_AUTH'] = 0; |
||||
$platform_email['SMTP_USER'] = ''; |
||||
$platform_email['SMTP_PASS'] = ''; |
||||
$platform_email['SMTP_CHARSET'] = api_get_system_encoding(); |
||||
|
||||
// ==================================================================== |
||||
?> |
@ -1,47 +1,42 @@ |
||||
<?php |
||||
/** |
||||
============================================================================== |
||||
* This file holds the configuration constants and variables |
||||
* for the user profile tool. |
||||
* |
||||
* @package dokeos.configuration |
||||
============================================================================== |
||||
*/ |
||||
|
||||
// AUTHENTICATION // |
||||
//// PASSWORD ////// |
||||
/** |
||||
* This file holds the configuration constants and variables |
||||
* for the user profile tool. |
||||
* |
||||
* @package chamilo.configuration |
||||
*/ |
||||
|
||||
define ('CHECK_PASS_EASY_TO_FIND', false); |
||||
// Autentication, password |
||||
define('CHECK_PASS_EASY_TO_FIND', false); |
||||
|
||||
$profileIsEditable = true; |
||||
|
||||
///// PICTURE OF USERS ///// |
||||
define ('PREFIX_IMAGE_FILENAME_WITH_UID', true); // if true, filename of images on server begin with uid of the user. |
||||
define ('RESIZE_IMAGE_TO_THIS_HEIGTH',180); |
||||
// User photos |
||||
define('PREFIX_IMAGE_FILENAME_WITH_UID', true); // If true, filename of images on server begin with uid of the user. |
||||
define('RESIZE_IMAGE_TO_THIS_HEIGTH', 180); |
||||
define('IMAGE_THUMBNAIL_WIDTH', 100); |
||||
|
||||
// ABOUT IMAGE REPLACE |
||||
define ('KEEP_THE_NAME_WHEN_CHANGE_IMAGE',TRUE); |
||||
// Replacing user photos |
||||
define('KEEP_THE_NAME_WHEN_CHANGE_IMAGE', true); |
||||
// true -> the new image have the name of previous. |
||||
// false -> a new name is build for each upladed image. |
||||
define ('KEEP_THE_OLD_IMAGE_AFTER_CHANGE',TRUE); |
||||
define('KEEP_THE_OLD_IMAGE_AFTER_CHANGE', true); |
||||
// true -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the previous image is rename before. |
||||
// false -> only the last image still on server. |
||||
|
||||
|
||||
///// OFFICIAL CODE // BEGIN |
||||
// don't forget to change name of offical code in your institute |
||||
// $langOfficialCode in lang File 'registration' |
||||
define ('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed |
||||
define ('CONFVAL_CHECK_OFFICIAL_CODE', false); |
||||
/* if true, build here the function personal_check_official_code($code,$valueToReturnIfOk,$valueToReturnIfBad) |
||||
{ |
||||
|
||||
return $stateOfficialCode |
||||
// Official code |
||||
// Don't forget to change name of offical code in your organization |
||||
// See $langOfficialCode within the language file 'registration' |
||||
define('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed |
||||
define('CONFVAL_CHECK_OFFICIAL_CODE', false); |
||||
/* if CONFVAL_CHECK_OFFICIAL_CODE is true, build here the |
||||
function personal_check_official_code($code, $valueToReturnIfOk, $valueToReturnIfBad) { |
||||
return $stateOfficialCode = true; |
||||
} |
||||
*/ |
||||
///// OFFICIAL CODE // END |
||||
|
||||
// for stats // |
||||
define ('NB_LINE_OF_EVENTS', 15); |
||||
// For stats |
||||
define('NB_LINE_OF_EVENTS', 15); |
||||
|
||||
?> |
Loading…
Reference in new issue