<commit_before><?php
/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 <NAME>
 *
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 *
 * For further information visit:
 * 		http://www.fckeditor.net/
 *
 * "Support Open Source software. What about a donation today?"
 *
 * File Name: connector.php
 * 	This is the File Manager Connector for PHP.
 *
 * File Authors:
 * 		<NAME> (<EMAIL>)
 */

/*** Start PMF custom code ***/
// $Id: connector.php,v 1.4 2007-03-29 18:01:27 thorstenr Exp $

//
// Prepend and start the PHP session
//
$pmfIncludeDir = dirname(dirname(dirname(dirname(dirname(dirname(__FILE__))))));
require_once($pmfIncludeDir.'/inc/Init.php');
require_once($pmfIncludeDir.'/inc/PMF_User/CurrentUser.php');

PMF_Init::cleanRequest();
session_name('pmfauth' . trim($faqconfig->get('main.phpMyFAQToken')));
session_start();

//
// Get current user rights
//
$permission = array();
$user = PMF_CurrentUser::getFromSession($faqconfig->get('main.ipCheck'));

if ($user) {
    // read all rights, set them FALSE<commit_msg>Enh: adopted the new __autoload capabilities.<commit_after><?php
/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 <NAME>
 *
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 *
 * For further information visit:
 * 		http://www.fckeditor.net/
 *
 * "Support Open Source software. What about a donation today?"
 *
 * File Name: connector.php
 * 	This is the File Manager Connector for PHP.
 *
 * File Authors:
 * 		<NAME> (<EMAIL>)
 */

/*** Start PMF custom code ***/
// $Id$
define('PMF_ROOT_DIR', dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))));

//
// Autoload classes, prepend and start the PHP session
//
require_once PMF_ROOT_DIR.'/inc/Init.php';
PMF_Init::cleanRequest();
session_name('pmfauth'.trim($faqconfig->get('main.phpMyFAQToken')));
session_start();

//
// Get current user rights
//
$permission = array();
$user = PMF_User_CurrentUser::getFromSession($faqconfig->get('main.ipCheck'));

if ($user) {
    // read all rights, set them FALSE
{'fraction_non_alphanumeric': 0.15712988192552224, 'fraction_numerical': 0.014532243415077202, 'mean_word_length': 4.232779097387174, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '936319', 'n_tokens_mistral': 757, 'n_tokens_neox': 719, 'n_words': 185}