Author Topic: change in directory name for security  (Read 4608 times)

0 Members and 1 Guest are viewing this topic.

Offline kenobi

  • Pre-Newbie
  • Posts: 4
    • View Profile
change in directory name for security
« on: March 12, 2003, 11:51:45 PM »
I want to change the name of the directory which is used for image storage because of security reasons.

for example; instead of "/data/media/" I would like to store image files in folder "/data/xxxx/"

how can i do this?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change in directory name for security
« Reply #1 on: March 12, 2003, 11:54:56 PM »
try this:
open /includes/constants.php
at the end u'll find:
define('MEDIA_DIR', 'data/media');
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kenobi

  • Pre-Newbie
  • Posts: 4
    • View Profile
change in directory name for security
« Reply #2 on: March 13, 2003, 12:04:32 AM »
thanx

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: change in directory name for security
« Reply #3 on: March 11, 2005, 08:59:21 PM »
Hi V@no,

sorry about the site.

this topic should be included in FAQ if it hasn't been or should be stickied.

take care

Please Vote for my site: Here