Ticket #145 (closed enhancement: fixed)

Opened 10 months ago

Last modified 3 months ago

Config.php from root to /user

Reported by: Massimiliano Owned by:
Priority: trivial Milestone: 0.6
Component: Habari Core Software Version: SVN
Keywords: config, user Cc:

Description

Would it make sense to move config.php from root to /user?

Single users could backup their /user folder and be safe. But, what about multi-user installations?

Change History

Changed 9 months ago by itrebal

It appears that it would take only changing line 262 of classes/site.php from:

self::$config_path= HABARI_PATH;

to:

self::$config_path= HABARI_PATH . '/user/';

Changed 6 months ago by chrisjdavis

Is there a feeling as to which direction we should go here? Scott's message to the list went completely unanswered. I could make this change immediately, but I don't feel comfortable doing so without some discussion first.

Changed 6 months ago by chrisjdavis

Also this will require more extensive changes than just what is quoted above. Nothing to serious, but still more than the one change.

Changed 6 months ago by rickc

I think it would be a good change. In combination with the change suggested in issue #273, it would make for an almost completely portable Habari installation.

Changed 4 months ago by arthus

I think this change should be made. It allows for users to backup /user or copy it to a different installation and carry all their settings and plugins with them.

Changed 4 months ago by michaeltwofish

  • milestone changed from 0.5 to Undetermined

This is a feature addition, not a bug fix, and as such it should not be included in 0.5. I realise we haven't fleshed out a policy for what should and should not be included in a feature frozen release yet; I'd start a draft on http://wiki.habariproject.org/en/Release_Policy but can't currently log in.

Changed 4 months ago by moeffju

  • milestone changed from Undetermined to 0.6

I think this should be in 0.6. Caveat: How are multisite installs affected?

Changed 4 months ago by michaeltwofish

There has been discussion about making one of the focuses of 0.7 multisite/multiauthor, so perhaps it should be pushed to 0.7.

Changed 3 months ago by skippy

  • status changed from new to closed
  • resolution set to fixed

The code as of r2436 supports storing config.php in /user/sites/www.foo.bar

Make sure the directory in /user/sites matches the site name users type into the URL, then move config.php into there. Haven't yet tested a multi-site setup, but the code looks like it should work.

Closing this ticket.

Note: See TracTickets for help on using tickets.