Allora questa è la parte della index.php dove credo venga gestita la login
Codice PHP:
if ( mosGetParam( $_POST, 'message', 0 ) ) {
?>
<script>

</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) {         
require_once( 
$path );     
} else {     
    
mosNotAuth();     
}
L'unica cosa che mi viene in mente è che salva le informazioni sulle cookie...dici che sia possibile? anche perche ho provato a fare "$my = $mainframe->getUser();" ma comunque mi restituisce errore...