Server IP : 149.255.58.128 / Your IP : 216.73.216.46
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/chamilo//events.conf.php
<?php
/* For licensing terms, see /license.txt */
/**
* Events' configuration
* @deprecated to be removed in 2.x
* Used to configure each event and to link them to functions the event'll fire.
* The flow is like the following :
* 1. somewhere in the application an event is fired
* 2. that event is intercepted by the switch EventsDispatcher
* 3. that switch will go all over the "actions" in the event_config initialized beneath us according to the event
* 4. that switch will see if the function actually exists (if not, we get dont do anything)
* 5. then it will see if a filter for that function exists (if it does, the filter is executed)
* 6. if the filter says it's ok, the function linked to the event is executed
* 7. and that function will actually call the truly interesting function with the good require_once
*/
global $event_config;
$event_config = array(
'portal_homepage_edited' => array( // key for "user registration" event
'actions' => array( // we link this event to a bunch of functions that will be triggered when the event is fired
'event_send_mail' // don't forget to actually write this function in the events.lib.php file
),
'self_sent' => false, // this key states that we can't add user to this event through the admin panel
'name_lang_var' => get_lang('PortalHomepageEdited'),
'desc_lang_var' => get_lang('PortalHomepageEdited'),
'available_keyvars' => array (// keys used for the mail template
'url' => 'portal',
'sitename' => 'sitename',
'firstname' => 'firstname',
'lastname' => 'lastname',
'username' => 'username',
'usermail' => 'usermail',
'password' => 'password',
'user_lang' => 'language',
'admin_name' => 'administrator_name',
'admin_surname' => 'administrator_surname',
'admin_phone' => 'administrator_phone',
'admin_email' => 'administrator_email',
)
),
'user_registration' => array( // key for "user registration" event
'actions' => array( // we link this event to a bunch of functions that will be triggered when the event is fired
'event_send_mail' // don't forget to actually write this function in the events.lib.php file
),
'self_sent' => true, // this key states that we can't add user to this event through the admin panel
'name_lang_var' => get_lang('UserRegistrationTitle'),
'desc_lang_var' => get_lang('UserRegistrationComment'),
'available_keyvars' => array (// keys used for the mail template
'url' => 'portal',
'sitename' => 'sitename',
'firstname' => 'firstname',
'lastname' => 'lastname',
'username' => 'username',
'usermail' => 'usermail',
'password' => 'password',
'user_lang' => 'language',
'admin_name' => 'administrator_name',
'admin_surname' => 'administrator_surname',
'admin_phone' => 'administrator_phone',
'admin_email' => 'administrator_email',
)
),
);
@include 'events.conf.local.php';
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
php53 | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
php56 | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
php71 | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
php81 | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
php82 | -- | October 23 2024 09:37:29 | 0 / root | 0755 | |
| | | | | |
add_course.conf.php | 0.259 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
auth.conf.php | 6.371 KB | October 22 2024 06:51:56 | 0 / root | 0644 | |
clone.php | 5.824 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
configuration.php | 131.289 KB | October 22 2024 06:51:56 | 0 / root | 0644 | |
course_info.conf.php | 0.172 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
edit.php | 4.257 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
edit.xml | 0.423 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
events.conf.php | 3.234 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
fileindex.php | 0.504 KB | January 25 2023 00:55:00 | 0 / root | 0644 | |
import.php | 3.45 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
info.xml | 3.25 KB | October 22 2024 06:51:56 | 0 / root | 0644 | |
install.js | 0.902 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 6.628 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
install.xml | 4.235 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
mail.conf.php | 3.42 KB | October 22 2024 06:51:56 | 0 / root | 0644 | |
md5 | 1.47 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
notes.txt | 1.225 KB | January 24 2024 05:57:10 | 0 / root | 0644 | |
profile.conf.php | 1.309 KB | January 25 2023 00:55:00 | 0 / root | 0644 | |
upgrade.php | 5.856 KB | October 22 2024 06:53:44 | 0 / root | 0644 | |
upgrade.xml | 0.409 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |