Hi,
Can somebody give me filemanager integration example?
I am trying to integrate this library:
2.http://www.responsivefilemanager.com/#sthash.SJpbbiRf.dpbs
1. I put this library in assets folder
2. configured application and system path in index.php
3. configured upload directory path in library's config.php
problem is I can't authorize user.
in library's config file:
PHP Code:
<?php
if (session_id() == '') session_start();
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_language('uni');
mb_regex_encoding('UTF-8');
ob_start('mb_output_handler');
date_default_timezone_set('Europe/Istanbul');
ob_start();
include('../../index.php');
ob_end_clean();
$CI =& get_instance();
$CI->load->driver('session');
if(@$_SESSION['file_access'] == TRUE){
$codeigniterAuth = true;
} else {
$codeigniterAuth = false;
}
withou user authentication it works fine, but with this code above when I try to access dialog.php it just redirects to Home page.