Add path for wkhtlm executable

This commit is contained in:
Michael RICOIS 2012-12-07 13:42:51 +00:00
parent 0c04cc9881
commit 35f945ae52
5 changed files with 17 additions and 1 deletions

View File

@ -21,6 +21,7 @@ autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Form_"
autoloaderNamespaces[] = "Scores_"
; Scores configuration
profil.server.name = development
profil.webservice.location = sdsrvdev01
profil.mail.method = smtp
@ -33,6 +34,7 @@ profil.path.cache = APPLICATION_PATH "/../data/cache"
profil.path.files = APPLICATION_PATH "/../data/files"
profil.path.pages = APPLICATION_PATH "/../data/pages"
profil.path.data = "/your/path/"
profil.wkhtmltopdf.path = "c:\Users\mricois\www\data\wkhtml"
profil.wkhtmltopdf.arch = "amd64"
profil.db.sdv1.adapter=mysqli
profil.db.sdv1.params.host=127.0.0.1

View File

@ -21,6 +21,7 @@ autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Form_"
autoloaderNamespaces[] = "Scores_"
; Scores configuration
profil.server.name = ns359466
profil.webservice.location = celeste
profil.mail.method = sendmail
@ -33,6 +34,7 @@ profil.path.cache = APPLICATION_PATH "/../data/cache"
profil.path.files = APPLICATION_PATH "/../data/files"
profil.path.pages = APPLICATION_PATH "/../data/pages"
profil.path.data = "/home/vhosts/data"
profil.wkhtmltopdf.path = "/home/vhosts/data/wkhtml"
profil.wkhtmltopdf.arch = "amd64"
profil.db.sdv1.adapter=mysqli
profil.db.sdv1.params.host=127.0.0.1

View File

@ -21,6 +21,7 @@ autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Form_"
autoloaderNamespaces[] = "Scores_"
; Scores configuration
profil.server.name = sd-13408
profil.webservice.location = celeste
profil.mail.method = sendmail
@ -33,6 +34,7 @@ profil.path.cache = APPLICATION_PATH "/../data/cache"
profil.path.files = APPLICATION_PATH "/../data/files"
profil.path.pages = APPLICATION_PATH "/../data/pages"
profil.path.data = "/var/www/data"
profil.wkhtmltopdf.path = "/var/www/data/wkhtml"
profil.wkhtmltopdf.arch = "i386"
profil.db.sdv1.adapter=mysqli
profil.db.sdv1.params.host=localhost

View File

@ -21,6 +21,7 @@ autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Form_"
autoloaderNamespaces[] = "Scores_"
; Scores configuration
profil.server.name = sdsrvdev01
profil.webservice.location = sdsrvdev01
profil.mail.method = smtp
@ -33,6 +34,7 @@ profil.path.cache = APPLICATION_PATH "/../data/cache"
profil.path.files = APPLICATION_PATH "/../data/files"
profil.path.pages = APPLICATION_PATH "/../data/pages"
profil.path.data = "/sites/data"
profil.wkhtmltopdf.path = "/sites/data/wkhtml"
profil.wkhtmltopdf.arch = "amd64"
profil.db.sdv1.adapter=mysqli
profil.db.sdv1.params.host=127.0.0.1

View File

@ -64,7 +64,15 @@ if(isset($opts->check))
}
elseif(isset($opts->install))
{
//Create data directory and all his children
mkdir(APPLICATION_PATH.'/../data');
mkdir(APPLICATION_PATH.'/../data/cache');
mkdir(APPLICATION_PATH.'/../data/files');
mkdir(APPLICATION_PATH.'/../data/infogreffe');
mkdir(APPLICATION_PATH.'/../data/log');
mkdir(APPLICATION_PATH.'/../data/rss');
mkdir(APPLICATION_PATH.'/../data/sessions');
//Modification des permissions
passthru('chown -R www-data: '.APPLICATION_PATH.'/../');