coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: ngabriel4 on September 06, 2004, 08:18:59 PM

Title: prepare for removal scripts ...
Post by: ngabriel4 on September 06, 2004, 08:18:59 PM
for shell-exec disabled sites ( for security reasons,  e.g. ) :

suggest changing the shell call  `chmod -R 777 .... '  to the function call chmod("file-name", 0777);
Might need another for loop to process each file in the directory ( instead of the -R ).
Title: Re: prepare for removal scripts ...
Post by: Joachim Müller on September 07, 2004, 06:33:54 AM
<?php
chmod
("foldername"chmod_mode);
?>
already exists in various places within coppermine, what exactly are you suggesting?

Joachim