Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-04-20 09:16:29

stoke
New member
Registered: 2007-04-20
Posts: 1

direct access to EFM

to prevent dirrect access to the EFM i tried the same as discribed here: http://xinha.gogo.co.nz/punbb/viewtopic.php?id=999

i put this in my  my_config.js file:
            
                 if (xinha_config.ExtendedFileManager) {
           with (xinha_config.ExtendedFileManager)
        {
            <?php
            // define backend configuration for the plugin
            $IMConfig = array();
            $IMConfig['allow_new_dir'] = true;
            $IMConfig['allow_edit_image'] =  true;
            $IMConfig['allow_delete'] = true;
            $IMConfig['allow_rename'] = true;
            $IMConfig['allow_cut_copy_paste'] = true;
            $IMConfig['allow_upload'] = true;
            require_once './admin/xinha/contrib/php-xinha.php';
            xinha_pass_to_php_backend($IMConfig);
            ?>
        }
}
       
and changed all values in the "normal" /plugins/EFM/config.inc.php to false. but xinha is taking the values from the config.inc.php and not from my_config.js.
am i on the wrong way or is there any other possibility to prevent direct access to EFM?


thank u for your help and sry for the bad english.

Offline

Board footer

Powered by FluxBB