Skip Navigation
Remove

Automatic Site Creation

October 6, 2006 at 11:05 am
By Matt Ryan

Reason now automatically handles most directory and .htaccess file creation, moving, and deletion when sites are created, moved, and deleted. This makes site creation a simpler, faster, and easier process.

Files Affected

  • reason_4.0/lib/local/settings.php
  • reason_4.0/lib/core/classes/entity.php
  • carl_util/basic/filesystem.php
  • reason_4.0/lib/core/classes/url_manager.php
  • reason_4.0/lib/core/content_managers/site.php3
  • reason_4.0/lib/core/scripts/urls/push_moved_site.php
  • reason_4.0/www/displayers/push_moved_site.php
  • reason_4.0/lib/core/finish_actions/update_rewrites_on_site_finish.php
  • reason_4.0/lib/core/content_post_deleters/update_rewrites_on_site_deletion.php
  • reason_4.0/lib/core/scripts/upgrade/site_dir_creation/modify_site_type.php

Updating a Reason instance

To update a Reason instance to do auto site directory creation, run an svn update and then run the script at reason_package/reason_4.0/lib/core/scripts/upgrade/site_dir_creation/modify_site_type.php

Add a comment

Name:*
Comment:*
The following fields are not to be filled out. Skip to Submit Button.
Not Comment:
(This is here to trap robots. Don't put any text here.)
Not URL:
(This is here to trap robots. Don't put any text here.)
Avoid:
(This is here to trap robots. Don't put any text here.)