Changeset 1252 for trunk/plugins/ImageManager/config.inc.php
- Timestamp:
- 05/09/10 20:17:54 (2 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/ImageManager/config.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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
