- Timestamp:
- 05/09/10 20:17:54 (2 years ago)
- Location:
- trunk/plugins
- Files:
-
- 3 modified
-
ExtendedFileManager/ExtendedFileManager.js (modified) (1 diff)
-
ExtendedFileManager/config.inc.php (modified) (2 diffs)
-
ImageManager/config.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/ExtendedFileManager/ExtendedFileManager.js
r1067 r1252 74 74 'backend_config' : null, 75 75 'backend_config_hash': null, 76 'backend_config_secret_key_location': 'Xinha: ImageManager'76 'backend_config_secret_key_location': 'Xinha:ExtendedFileManager' 77 77 }; 78 78 -
trunk/plugins/ExtendedFileManager/config.inc.php
r1231 r1252 366 366 $_REQUEST['backend_config'] = stripslashes($_REQUEST['backend_config']); 367 367 } 368 368 369 if($_REQUEST['backend_config_secret_key_location'] !== 'Xinha:ExtendedFileManager') 370 { 371 trigger_error(E_USER_ERROR, 'Programming Error - please contact the website administrator/programmer to alert them to this problem. A non-default backend key location is being used to pass backend data to Xinha, but the same key location is not being used to receive data. The special backend configuration has been ignored. To resolve this, you should edit plugins/ExtendedFileManager/config.php and change the default key location from "Xinha:ExtendedFileManager" to your desired non default. See: http://trac.xinha.org/ticket/1518'); 372 } 373 else 374 { 369 375 // Config specified from front end, check that it's valid 370 376 session_start(); … … 391 397 $IMConfig['backend_url'] .= "backend_config_hash=" . rawurlencode($_REQUEST['backend_config_hash']) . '&'; 392 398 $IMConfig['backend_url'] .= "backend_config_secret_key_location=" . rawurlencode($_REQUEST['backend_config_secret_key_location']) . '&'; 393 399 } 394 400 } 395 401 if ($IMConfig['max_filesize_kb_link'] == "max") -
trunk/plugins/ImageManager/config.inc.php
r1231 r1252 412 412 } 413 413 414 if($_REQUEST['backend_config_secret_key_location'] !== 'Xinha:ImageManager') 415 { 416 trigger_error(E_USER_ERROR, 'Programming Error - please contact the website administrator/programmer to alert them to this problem. A non-default backend key location is being used to pass backend data to Xinha, but the same key location is not being used to receive data. The special backend configuration has been ignored. To resolve this, you should edit plugins/ImageManager/config.php and change the default key location from "Xinha:ImageManager" to your desired non default. See: http://trac.xinha.org/ticket/1518'); 417 } 418 else 419 { 420 414 421 // Config specified from front end, check that it's valid 415 422 session_start(); … … 431 438 $IMConfig['backend_url'] .= "backend_config_hash=" . rawurlencode($_REQUEST['backend_config_hash']) . '&'; 432 439 $IMConfig['backend_url'] .= "backend_config_secret_key_location=" . rawurlencode($_REQUEST['backend_config_secret_key_location']) . '&'; 433 440 } 434 441 } 435 442
