Ignore:
Timestamp:
06/22/12 14:01:51 (7 years ago)
Author:
gogo
Message:

#1595 - suhosin caused breakage of MootoolsFileManager?, typical error session expired due to suhosin having killed the session, this works around it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/Assets/Connector/FileManager.php

    r1324 r1327  
    525525} 
    526526 
     527if(!defined("I_KNOW_ABOUT_SUHOSIN") && ini_get('suhosin.session.cryptua')) 
     528{ 
     529  header('HTTP/1.0 500 Developer must read https://github.com/sleemanj/mootools-filemanager/wiki/suhosin', true, 500); // Internal server error 
     530  throw Exception('suhosin.session.cryptua: https://github.com/sleemanj/mootools-filemanager/wiki/suhosin" }');   // this exception will most probably not be caught; that's our intent!   
     531  exit; 
     532} 
    527533//------------------------------------------------------------------------------------------------------------- 
    528534 
Note: See TracChangeset for help on using the changeset viewer.