[svn r21596] FS#2867 - The FCKEditor: Moving file manager's "connectors" folder from the legacy to the current place according to the original 2.6.4 code. This is to make upgrades easier.

skala
Ivan Tcholakov 17 years ago
parent 6a711a4775
commit b9e6e6c7f8
  1. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/index.html
  2. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/basexml.php
  3. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/commands.php
  4. 2
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/config.php
  5. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/connector.php
  6. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/index.html
  7. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/io.php
  8. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/phpcompat.php
  9. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/upload2.php
  10. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/php/util.php
  11. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/test.html
  12. 0
      main/inc/lib/fckeditor/editor/filemanager/connectors/uploadtest.html
  13. 12
      main/inc/lib/fckeditor/fckeditor.php

@ -25,7 +25,7 @@
// Modifications by Ivan Tcholakov, JAN-2009.
// Loading the global initialization file, Dokeos LMS.
require_once '../../../../../../../../global.inc.php';
require_once '../../../../../../global.inc.php';
// Initialization of the repositories.
require_once api_get_path(LIBRARY_PATH).'fckeditor/repositories_config.php' ;

@ -378,22 +378,22 @@ class FCKeditor
// URLs for opening the file browser for different resource types (file types):
// for images
$this->Config['ImageBrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=Images&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['ImageBrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=Images&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
// for flash
$this->Config['FlashBrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['FlashBrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=Flash&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
// for audio files (mp3)
$this->Config['MP3BrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=MP3&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['MP3BrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=MP3&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
// for videos
$this->Config['VideoBrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=Video&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['VideoBrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=Video&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
// for videos (flv)
$this->Config['MediaBrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=Video/flv&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['MediaBrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=Video/flv&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
// for links (any resource type)
$this->Config['LinkBrowserURL'] = $this->BasePath . "editor/filemanager/browser/default/browser.html?Type=File&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this->Config['LinkBrowserURL'] = $this->BasePath."editor/filemanager/browser/default/browser.html?Type=File&Connector=".$this->BasePath."editor/filemanager/connectors/php/connector.php&ServerPath=$upload_path";
}
// URLs for making quick uplods for different resource types (file types).

Loading…
Cancel
Save