-
Notifications
You must be signed in to change notification settings - Fork 3
/
conf.inc.php.init
99 lines (71 loc) · 2.64 KB
/
conf.inc.php.init
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// aparecerán cajas con información útil para errores.
define("DEBUG", False);
define("VERSION", "__VERSION__");
/*********** a partir de aqui puede que ya no hay aque editar nada ********/
// ruta al comando winexe
define("WINEXE", "/usr/bin/pywinexe");
// ruta al comando max-control
define("MAXCONTROL", "/usr/bin/max-control");
// ruta al comando pywakeonlan
define("PYWAKEONLAN", "/usr/bin/pywakeonlan");
// RUTA a la clase smarty
define("SMARTY_REQUIRE","/usr/share/php/smarty3/Smarty.class.php");
// cache de smart
define("SMARTY_CACHE", "/var/lib/max-control/cache");
// ruta a las plantillas mejor no editar
define("SMARTY_TEMPLATES", "/templates");
define("SMARTY_PLUGINS", '/usr/share/php/smarty3/plugins/');
/*
* enable apache mod_rewrite (mejor no tocar)
*/
define("APACHE_MOD_REWRITE", True);
// puerto usado para conectar por ssh y detectar LINUX
define("LINUX_PORT", 22);
/* esperar 2 segundos para ver si el puerto 22 está abierto*/
define("PROBE_TIMEOUT", 2);
/* timeout para apagar y mostrar un mensaje */
define("POWEROFF_REBOOT_TIMEOUT", 20);
/* directorios TFTP */
define("TFTPBOOT", "/var/lib/tftpboot/");
define("PXELINUXCFG", "/var/lib/tftpboot/pxelinux.cfg/");
// compartir ISOS
define("ISOS_PATH", "/home/samba/shares/isos/");
define("FORK_ACTIONS", False);
//define("FORK_LOGFILE", "/tmp/actions.log");
define("FORK_LOGFILE", "/dev/null");
/* paginador */
define("PAGER_LIMIT", 25);
define("PAGER_MAX_LINKS", 10);
/* quota % to show a warning (needed by pyoverquota) */
define("OVERQUOTA_LIMIT", "80");
define("DEFAULT_QUOTA", "2000");
/* file to read/write programer events */
define("PROGRAMER_INI", "/var/lib/max-control/programer.ini");
define("IMPORTER_DIR", "/var/lib/max-control/importer/");
define("FIRST_RUN", "/var/lib/max-control/first-run.done");
$site["public_modules"]=array();
$site["private_modules_admin"]=array(
"miperfil" => "Mi perfil",
"usuarios" => "Usuarios y Grupos",
"equipos" => "Aulas y Equipos",
"isos" => "Distribuir ISOS",
"power" => "Apagado y reinicio",
"boot" => "Programar arranque",
);
$site["private_modules_tic"]=array(
"miperfil" => "Mi perfil",
"usuarios" => "Usuarios y Grupos",
"equipos" => "Aulas y Profesores",
"isos" => "Distribuir ISOS",
"power" => "Apagado y reinicio",
"boot" => "Programar arranque",
);
$site["private_modules_teacher"]=array(
"miperfil" => "Mi perfil",
"isos" => "Distribuir ISOS",
"power" => "Apagado y reinicio",
);
$site["private_modules_none"]=array(
"miperfil" => "Mi perfil"
);
$site["private_modules"]=array();