Author Topic: How can I change the config.php file  (Read 10089 times)

0 Members and 1 Guest are viewing this topic.

Offline wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
How can I change the config.php file
« on: September 23, 2008, 11:47:09 PM »
How can I change the config.php file

I want to author in a special file

Then he told Volume secret word

Thank you

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
Re: How can I change the config.php file
« Reply #1 on: September 24, 2008, 03:18:55 AM »
I'm sorry, I don't understand your question...well, how can you change a file - is simple, you download the needed file from the server via FTP and change it with a text editor...
But I guess it's not what you where asking, is it?
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 wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: How can I change the config.php file
« Reply #2 on: September 24, 2008, 03:09:34 PM »
I want to put a file config. Php within the folder includes

How

Offline wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: How can I change the config.php file
« Reply #3 on: September 25, 2008, 04:47:23 PM »
I want to put a file config. Php within the folder includes

How  :roll:

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: How can I change the config.php file
« Reply #4 on: September 25, 2008, 05:29:30 PM »
Why don't keep the config.php in the root directory?
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: How can I change the config.php file
« Reply #5 on: September 26, 2008, 05:07:19 PM »
I want to work with the protection of confidential so as not to penetrate

plase of the way I say to change the file path config.php

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: How can I change the config.php file
« Reply #6 on: September 26, 2008, 05:57:34 PM »
@kai

the wasak is trying to change the config name to something else

and also he wants to change the location of the new config name 

i think he want to make that changes as a security part

as i know

the config name cannot be change like that and he has to change some setting in the 4images files

so is that possible ??

sorry for bothering

but i want to clear this request to you

coz same request was post in the arabic support section
English Please :@

Offline wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: How can I change the config.php file
« Reply #7 on: September 26, 2008, 07:48:08 PM »
  :arrow: Mr_LovaLove   :lol:   :D

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: How can I change the config.php file
« Reply #8 on: September 26, 2008, 11:16:27 PM »
open all 4images php files... search for config.php
replace it to your wish name..
adjust path if you are moving it to another place..

that is :)
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline wasak

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: How can I change the config.php file
« Reply #9 on: September 26, 2008, 11:34:30 PM »
it is not fuond that file name in the filer!!


Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: How can I change the config.php file
« Reply #10 on: September 27, 2008, 12:49:01 AM »
in global.php search for config.php and change it to the new name

[EDIT]
to be more specific:
@include(ROOT_PATH.'config.php');

Change it to:
@include(ROOT_PATH.'includes/config_new_name.php');
« Last Edit: September 27, 2008, 01:46:14 AM by V@no »
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.