Skip to content
Snippets Groups Projects
Commit 85dcb426 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add file dolibarr_changes.txt

parent 0b6294e5
No related branches found
No related tags found
No related merge requests found
If fckeditor files are replaced by new version, following changes must be done:
This file describe changes made on external library after beeing included
in Dolibarr root.
FCKEDITOR:
----------
If fckeditor files are replaced by new version, following changes must be done:
* Edit fckconfig.js to set: * Edit fckconfig.js to set:
*************************** ***************************
...@@ -8,18 +14,16 @@ FCKConfig.LinkUpload = false ; ...@@ -8,18 +14,16 @@ FCKConfig.LinkUpload = false ;
FCKConfig.ImageUpload = false ; FCKConfig.ImageUpload = false ;
FCKConfig.FlashUpload = false ; FCKConfig.FlashUpload = false ;
* Edit htdocs\includes\fckeditor\editor\filemanager\connectors\php\config.php to set: * Edit htdocs\includes\fckeditor\editor\filemanager\connectors\php\config.php to set:
***************************************************************************************************** *****************************************************************************************************
//require_once("../../../../../../../../master.inc.php"); //require_once("../../../../../../../../master.inc.php");
require_once("../../../../../../../../conf/conf.php"); // ajout car include master.inc.php ne marche pas require_once("../../../../../../../../conf/conf.php"); // car include master.inc.php ne marche pas
$uri=eregi_replace('^http(s?)://','',$dolibarr_main_url_root); $uri=eregi_replace('^http(s?)://','',$dolibarr_main_url_root);
$pos = strstr ($uri, '/'); // $pos contient alors url sans nom domaine $pos = strstr ($uri, '/'); // $pos contient alors url sans nom domaine
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a '' if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
define('DOL_URL_ROOT', $pos); define('DOL_URL_ROOT', $pos);
// SECURITY: You must explicitelly enable this "connector". (Set it to "true"). // SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ; $Config['Enabled'] = true ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment