<?php
/*
 * System Main Configuration File - Local Settings
 * Auto-generated by config plugin
 * Run for user: sie2
 * Date: Sat, 25 Jan 2025 02:31:42 -0700
 */

date_default_timezone_set('America/Bogota');

$conf['title'] = 'prueba';
$conf['start'] = 'inicio';
$conf['lang'] = 'es';
$conf['template'] = '20cones';
$conf['sidebar'] = 'menu1';
$conf['license'] = 'cc-by-sa';
$conf['basedir'] = '/';
$conf['baseurl'] = 'https://prueba.systemsie.site/';
$conf['useheading'] = '1';
$conf['useacl'] = 1;
$conf['passcrypt'] = 'smd5';
$conf['defaultgroup'] = '';
$conf['superuser'] = '@sie';
$conf['manager'] = 'manager';
$conf['disableactions'] = 'register,profile_delete';
$conf['subscribers'] = 1;
$conf['notify'] = 'proyect@sieasesorias.com';
$conf['registernotify'] = 'proyect@sieasesorias.com';
$conf['mailfrom'] = 'proyect@sieasesorias.com';
$conf['mailreturnpath'] = 'proyect@sieasesorias.com';
$conf['mailprefix'] = 'Reporte de cambio documental sistema- SIE';
$conf['dontlog'] = 'error,debug';
$conf['updatecheck'] = 0;
$conf['defer_js'] = 1;
$conf['hidewarnings'] = 1;
$conf['proxy']['user'] = 'manager';
$conf['plugin']['authldap']['attributes'] = array();
$conf['plugin']['authldap']['groupscope'] = 'one';
$conf['plugin']['authorlist']['heading'] = 'Autores';
$conf['plugin']['authorlist']['intro'] = '<p><b>Autores:</b></p>';
$conf['plugin']['authorlist']['creatortext'] = '<p>Creado por <i>%CREATOR%</i> on %DATE%.</p>';
$conf['plugin']['ckgedit']['open_upload'] = 1;
$conf['plugin']['ckgedit']['allow_ckg_filebrowser'] = 'dokuwiki';
$conf['plugin']['ckgedit']['default_ckg_filebrowser'] = 'dokuwiki';
$conf['plugin']['ckgedit']['scayt_lang'] = 'Spanish/es_ES';
$conf['plugin']['ckgedit']['style_sheet'] = 1;
$conf['plugin']['dropfiles']['insertFileLink'] = 1;
$conf['plugin']['include']['order'] = 'title';
$conf['plugin']['indexmenu']['aclcache'] = 'none';
$conf['plugin']['pagetitle']['usePersistent'] = 1;
$conf['plugin']['publish']['hide_approved_banner'] = 1;
$conf['plugin']['publish']['apr_approved_text'] = 'Aprobado';
$conf['plugin']['tag']['toolbar_icon'] = 1;
$conf['plugin']['tag']['list_tags_of_subns'] = 1;
$conf['plugin']['templatepagename']['current_pagename_tpl'] = '_template';
$conf['plugin']['templatepagename']['inherited_pagename_tpl'] = '_template2';
$conf['plugin']['versionswitch']['regexes'] = '|{{tag>VERSIÓN';
$conf['token_ia'] = '';

// ── BEZ Plugin — Grupo administrador ──────────────────────────────
// Usuarios del grupo 'bez_admin' obtienen control TOTAL del plugin BEZ
// (crear/editar/eliminar proyectos, tareas, programas, tipos, hilos admin)
// sin necesidad de ser superusuario ni administrador del sistema.
// Para asignar: Administrar usuarios → editar usuario → agregar grupo 'bez_admin'
// Nivel: BEZ_AUTH_ADMIN (20) — mismo nivel que grupo 'admin' dentro de BEZ.
$conf['plugin']['bez']['admin_group'] = 'bez_admin';

// ── SIE-IA Engine (motor local PHP - reemplaza API Python/Render)
// IMPORTANTE: Estos 3 valores deben configurarse en conf/local.php de cada sistema:
// $conf['groq_api_key'] = 'gsk_XXXX...';  // Clave API de Groq (obligatorio para IA)
// $conf['groq_model']   = 'llama-3.3-70b-versatile'; // Modelo LLM de Groq
// $conf['ia_tope_mes']  = 50;              // Cupo maximo de consultas IA por mes (default: 10)