Exemple #1
0
            echo _LOGOUT_SUCCESS;
            ?>
" ); 
		//-->
		</script>
		<?php 
        }
        if ($return) {
            mosRedirect($return);
        } else {
            mosRedirect('index.php');
        }
    }
}
/** get the information about the current user from the sessions table */
$my = $mainframe->getUser();
/** detect first visit */
$mainframe->detect();
$gid = intval($my->gid);
// gets template for page
$cur_template = $mainframe->getTemplate();
/** temp fix - this feature is currently disabled */
/** @global A places to store information from processing of the component */
$_MOS_OPTION = array();
// precapture the output of the component
require_once $mosConfig_absolute_path . '/editor/editor.php';
ob_start();
if ($path = $mainframe->getPath('front')) {
    $task = mosGetParam($_REQUEST, 'task', '');
    $ret = mosMenuCheck($Itemid, $option, $task, $gid);
    if ($ret) {
 * JoomlaAuthenticatorImpl.php
 *
 * @package MCFileManager.authenicators
 * @author Moxiecode
 * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
 */
// Include Joomla bootstrap logic
@session_destroy();
chdir("../../../../../../../");
define('_VALID_MOS', 1);
include_once 'globals.php';
require_once 'configuration.php';
require_once 'includes/joomla.php';
$mainframe = new mosMainFrame($database, $option, '.');
$mainframe->initSession();
$mamboUser =& $mainframe->getUser();
chdir("mambots/editors/tinymce/jscripts/tiny_mce/plugins/filemanager/");
/**
 * This class is a Jomla CMS authenticator implementation.
 *
 * @package MCFileManager.Authenticators
 */
class JoomlaAuthenticatorImpl extends BaseAuthenticator
{
    /**#@+
     * @access public
     */
    var $_config;
    /**
     * Main constructor.
     */