Leaving install folder on server after install

From Cheetah Documentation Wiki
Jump to navigation Jump to search

As of Cheetah version 1.2.0, you can now get Cheetah to leave the install folder on the server. This is intended for use by developers that frequently need to reinstall the site. You should not do this on production sites.

To do this, after the install of Cheetah, when Cheetah instructs you to remove the install folder, instead do this.

Open inc/header.inc.php and look for this line.

define('CH_WSB_LEAVE_INSTALL_FOLDER', FALSE);

Change the false to TRUE and save.

You can now proceed to the admin panel without deleting the install folder.

If you had already deleted the install folder, you can edit inc/header.inc.php as instructed above and then re-upload the install folder from the Cheetah zip archive to your site.

REMEMBER. You should not leave the install folder on a production site.