[svn r17750] Ajaxfilemanager not need to change folder permissions session. There is no requirement in Dokeos

skala
Juan Carlos Raña 16 years ago
parent ad3de889fd
commit eb8af728c8
  1. 7
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php
  2. 9
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/config.php
  3. 1
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/session/gc_counter.ajax.php
  4. 2
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/session/gc_log.ajax.php
  5. 8
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/session/index.html

@ -5,13 +5,18 @@
* @link www.phpletter.com
* @since 22/May/2007
*
*
* Modify system config setting for Dokeos
* @author Juan Carlos Raña
* @since 31/December/2008
*/
include ('../../../../../../inc/global.inc.php'); // Integrating with Dokeos
api_block_anonymous_users();// from Dokeos
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
$session->gc();
require_once(CLASS_SESSION_ACTION);
$sessionAction = new SessionAction();
if(CONFIG_LOAD_DOC_LATTER)

@ -61,12 +61,9 @@
/////////////////// end from Dokeos
//FILESYSTEM CONFIG <br>
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "class.auth.php");
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "class.auth.php");
define('CONFIG_QUERY_STRING_ENABLE', true); //Enable passed query string to setting the system configuration
if(!isset($_SESSION))
{
session_start();
}
if(!headers_sent())
{
header('Content-Type: text/html; charset=utf-8');
@ -118,7 +115,7 @@
require_once(DIR_AJAX_INC . "function.base.php");
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "class.session.php");
$session = new Session();
$auth = new Auth();
if(CONFIG_ACCESS_CONTROL_MODE == 1)

@ -1,2 +0,0 @@
<?php die(); ?>
gc start at 29/Dec/2008 13:02:24

@ -1,8 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
</head>
<body>
<br />
</body>
</html>
Loading…
Cancel
Save