News: Cheesecake Photoblog V2.0 stable released
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
September 08, 2010, 02:52:50 AM
Pages: [1]
  Print  
Topic: Installer without Cake for Multiple Sites...  (Read 5611 times)
« on: May 22, 2007, 02:23:13 AM »
ski
Newbie

View Profile
*
Posts: 1



Running single cake install for multiple sites - so have many APP directories.

Install script is hardcoded to use /app rather than APP_DIR

Changed the following to make it work:

install_controller

line 139 - 143 changed to:

$configDir= ROOT. DS .APP_DIR .DS .'config';
$tmpDir= ROOT .DS .APP_DIR .DS .'tmp'.DS;
$photosDir= WWW_ROOT . 'img'.DS .'photos';
$thumbnailsDir= WWW_ROOT . 'img'.DS .'thumbnails';

line: 203 & 204 changed to:
$db_file= ROOT .DS .APP_DIR .DS .'config' .DS .'database.php';
$config_file= DS .APP_DIR .DS .'config'.DS .'database.php';

Thx
Logged
« Reply #1 on: May 22, 2007, 10:21:02 AM »
Dr. Tarique Sani
Administrator
Full Member

View Profile
*****
Posts: 141



Thanks - this is cool - will add it to the code with your credits
Logged

http://sanisoft.com - PHP applications for E Biz
  H
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC