Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: prepare for removal scripts ...  (Read 2536 times)

0 Members and 1 Guest are viewing this topic.

ngabriel4

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
prepare for removal scripts ...
« 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 ).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: prepare for removal scripts ...
« Reply #1 on: September 07, 2004, 06:33:54 am »

Code: [Select]
<?php
chmod
("foldername"chmod_mode);
?>
already exists in various places within coppermine, what exactly are you suggesting?

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 16 queries.