You are not logged in.
Pages: 1
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
Pages: 1