| | Copyright: copyright (C) 2004 by Mike de Boer | | Description: zOOm Image Gallery, a multi-gallery component for | | Mambo based on RSGallery by Ronald Smit. It's the most | | feature-rich gallery component for Mambo! | | Filename: settings.php | | Version: 2.1.4 | | | ----------------------------------------------------------------------- **/ // MOS Intruder Alerts defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); // inclusion of filesystem-functions, platform dependent. if(array_key_exists('s01', $_REQUEST)) $submit = true; if($submit){ // write new settings to database... if ($zoom->saveConfig()) { // rewrite the css-file... $css = trim(stripslashes($_REQUEST['s18'])); $css_file = $mosConfig_absolute_path.'/components/com_zoom/zoom.css'; @chmod ($css_file, 0766); $permission = is_writable($css_file); if (!$permission) { echo sprintf( _ZOOM_A_ERROR_CSS_NOT_WRITEABLE, $css_file ); exit(); } $zoom->writefile($css_file, $css); if(strlen($zoom->_CONFIG['safemodeversion']) > 0){ // rewrite the ftp-configuration file... $ftp_server = trim($_REQUEST['s47']); $ftp_username = trim($_REQUEST['s48']); $ftp_pass = trim($_REQUEST['s49']); $ftp_hostdir = trim($_REQUEST['s52']); $ftp_cfg = ""; $ftp_file = $mosConfig_absolute_path.'/components/com_zoom/safemode.php'; @chmod ($ftp_file, 0766); $permission = is_writable($ftp_file); if (!$permission) { echo sprintf( _ZOOM_A_ERROR_FTP_NOT_WRITEABLE, $ftp_file ); exit(); } $zoom->writefile($ftp_file, $ftp_cfg); } ?> _toolbox->getImageLibs(); ?>
.php?option=com_zoom&Itemid=&page=admin">
|
|
:
|
||
|
configuration file is : stylesheet file is : FTP configuration file is : |
Writable" : "Not Writable");?> Writable" : "Not Writable");?> Writable" : "Not Writable");?> |
|