Results 1 to 6 of 6
  1. #1
    Casual Pligger hm2k's Avatar
    Joined
    Oct 2006
    Posts
    78
    Thanks
    Received:0
    Given: 0

    confusing file naming config.php config2.php

    config.php is not a configuration file, you are not meant to edit any aspect of this.
    config2.php is the configuration file, you are meant to edit this.

    After looking at both of these files I soon realised why they existed in this way.

    At one point config.php contained some configuration settings, but they appear to have moved into config2.php.

    I'm proposing that config2.php should be renamed to something like "settings.php" in future versions making it easier to identify.

    It seems the only place that config2.php is included is is in config.php anyway, so it would be easy to make this transition.

  2. #2
    Mayor of PliggVille/Coder AshDigg's Avatar
    Joined
    Dec 2005
    Posts
    1,515
    Thanks
    Received:0
    Given: 0
    Sounds good to me.

  3. #3
    Casual Pligger hm2k's Avatar
    Joined
    Oct 2006
    Posts
    78
    Thanks
    Received:0
    Given: 0
    I also proposed that the configs/settings could be placed into the database...

    http://www.pligg.com/forum/showthread.php?t=2666

    This is something for the future though.

    I look forward to the implementation(s).

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    Quote Originally Posted by hm2k View Post
    I look forward to the implementation(s).
    It would work a lot faster if you actually did anything about everything you propose. Just because you propose it doesn't mean that it's automatically going to be implemented.

  5. #5
    Casual Pligger hm2k's Avatar
    Joined
    Oct 2006
    Posts
    78
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by kbeeveer46 View Post
    It would work a lot faster if you actually did anything about everything you propose. Just because you propose it doesn't mean that it's automatically going to be implemented.
    And how do you propose I implement them, I don't have access rights. I've already implemented it locally.

    PS. I discovered that this change would need to be changed in install/install3.php and install/upgrade.php and the readme file -- is anyone aware of anywhere else?

  6. #6
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    there's an entire forum for you to post any code you want.

Similar Threads

  1. config file
    By deepika in forum Questions & Comments
    Replies: 0
    Last Post: 02-23-2009, 05:48 PM
  2. WHERE IS THE CONFIG2.PHP file
    By wallbay1 in forum Questions & Comments
    Replies: 8
    Last Post: 01-27-2007, 11:41 PM
  3. why config2.php and config in database?
    By revolver in forum Questions & Comments
    Replies: 1
    Last Post: 11-25-2006, 09:33 AM
  4. Why config2.php and not config.php?
    By azayne in forum Questions & Comments
    Replies: 3
    Last Post: 10-29-2006, 07:02 AM
  5. Install Problems, Most Likely Config file
    By pfgannon in forum Questions & Comments
    Replies: 8
    Last Post: 07-22-2006, 11:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg