& Matías Parodi # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program 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 Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # ## if (!defined("SECURITY")) { exit; } // Important! Set this $base = 'http://foo.bar/'; // Set an array with images for header $CONFIG['LOGOS'] = array('logo_orange.png', 'logo_green.png', 'logo_blue.png'); shuffle($CONFIG['LOGOS']); // Basic settings $CONFIG['TITLE'] = 'Jisko'; $CONFIG['EMAIL_CONTACT'] = 'foo@bar.tld'; $CONFIG['DEFAULT_KARMA'] = 5; $CONFIG['NOTES_2p'] = 25; // Main database define('DB_HOST', 'localhost'); define('DB_USER', 'someone'); define('DB_PASSWORD', 'somepassword'); define('DB_NAME', 'johndoe'); // Jabber confonfiguration define('JABBER_SERVER', ''); define('JABBER_USERNAME', ''); define('JABBER_PASSWORD', ''); define('JABBER_PRESENCE', ''); define('RUN_TIME', -1); define('CBK_FREQ', 1); // reCAPTCHA keys $publickey = ''; $privatekey = ''; // Google Maps API Key $CONFIG['GMAPS_APIKEY'] = ''; // Separator for title text $CONFIG['SEPARATOR'] = '~'; // Allowed extensions for avatars $allowed_extensions = array('jpg', 'jpeg', 'png', 'gif'); // Paginator settings $get_difference_lang = array( 'zero' => _('Menos de un segundo'), 'str_difference_start' => _('Hace '), 'str_difference_end' => '', 'str_date_start' => '', 'str_date_end' => '', 'second' => _('1 segundo'), 'seconds' => _(' segundos'), 'minute' => _('1 minuto'), 'minutes' => _(' minutos'), 'hour' => _('una hora'), 'hours' => _(' horas'), 'day' => _('un día'), 'days' => _(' días')); $pagination_components_enabled = array ( "arrow_first_page" => true, "arrow_prev_page" => true, "pages" => true, "link_current_page" => true, "arrow_next_page" => true, "arrow_end_page" => true); $pagination_components_text = array ( "arrow_first_page" => "«", "arrow_prev_page" => "<", "arrow_next_page" => ">", "arrow_end_page" => "»"); $pagination_href = array ("p" => "[-]"); $pagination_classes = array ( "arrow_first_page" => "arrow_first", "arrow_prev_page" => "arrow_prev", "current_page" => "current_page", "others_pages" => "others_pages", "arrow_next_page" => "arrow_next", "arrow_end_page" => "arrow_end"); // Avoid future problems if someone register an username // with the same name like a section $forbidden_usernames = array('home', 'login', 'register', 'logout', 'notes', 'drop', 'forgot', 'avatar', 'invite', 'preferences', 'follow', 'favorites', 'public', 'profile'); // Emoticons :) $emoticons_shooter = array (':D', ':)', ':O', ':P', ':(', ';)', ':@', ':\'(', ':|', ':?', '8)', 'xD', '¬¬', '^^', ':*', ':\')'); $emoticons = array ( ':D', ':)', ':O', ':P', ':(', ';)', ':@', ':\'(', ':|', ':?', '8)', 'xD', '¬¬', '^^', ':*', ':\')'); array_walk($emoticons_shooter, create_function('&$value, $key', '$value = "/(?:(?<=.\W|\W.|^\W|^)" . preg_quote($value, "/") . "(?=.\W|\W.|\W$|$))/si";')); ?>