| 256 | | // If config specified from front end, merge it |
| 257 | | if(isset($_REQUEST['backend_config'])) |
| | 259 | // Standard PHP Backend Data Passing |
| | 260 | // if data was passed using xinha_pass_to_php_backend() we merge the items |
| | 261 | // provided into the Config |
| | 262 | require_once(realpath(dirname(__FILE__) . '/../../contrib/php-xinha.php')); |
| | 263 | if($passed_data = xinha_read_passed_data()) |
| | 264 | { |
| | 265 | $IMConfig = array_merge($IMConfig, $passed_data); |
| | 266 | $IMConfig['backend_url'] .= xinha_passed_data_querystring() . '&'; |
| | 267 | } |
| | 268 | // Deprecated config passing, don't use this way any more! |
| | 269 | elseif(isset($_REQUEST['backend_config'])) |