From 350906243d45c36eb69047dc68d6de2d6127535e Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sun, 8 Mar 2009 08:24:00 +0000 Subject: [PATCH] added support for another discovered writable directory --- INSTALL | 5 +++-- contrib/util/installScripts/cvsDemoInstall | 1 + setup.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index c4f7d831d..5d1cb15eb 100644 --- a/INSTALL +++ b/INSTALL @@ -75,8 +75,9 @@ openemr/gacl/gacl.class.php. In linux, these can be set by "chmod a+w filename" command to grant global write permissions to the file, but be sure to set them back to something more secure (such as chmod 644) after completing installation of OpenEMR. The directories include openemr/gacl/admin/templates_c, -openemr/edi, openemr/era, openemr/documents, openemr/custom/letter_templates, -openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled and +openemr/edi, openemr/era, openemr/documents, openemr/library/freeb, +openemr/custom/letter_templates, +openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled, and openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache. In linux, if the webserver user name is "apache", then the command "chown -R apache:apache directory_name" will grant global write permissions diff --git a/contrib/util/installScripts/cvsDemoInstall b/contrib/util/installScripts/cvsDemoInstall index 9ab7d7391..37b5342dc 100644 --- a/contrib/util/installScripts/cvsDemoInstall +++ b/contrib/util/installScripts/cvsDemoInstall @@ -75,6 +75,7 @@ chmod 666 $OPENEMR/interface/globals.php chown -R apache:apache $OPENEMR/documents chown -R apache:apache $OPENEMR/edi chown -R apache:apache $OPENEMR/era +chown -R apache:apache $OPENEMR/library/freeb chown -R apache:apache $OPENEMR/custom/letter_templates chown -R apache:apache $OPENEMR/interface/main/calendar/modules/PostCalendar/pntemplates/cache chown -R apache:apache $OPENEMR/interface/main/calendar/modules/PostCalendar/pntemplates/compiled diff --git a/setup.php b/setup.php index e7466cbb4..433eed1f5 100644 --- a/setup.php +++ b/setup.php @@ -28,6 +28,7 @@ $gaclConfigFile2 = $manualPath."gacl/gacl.class.php"; $docsDirectory = $manualPath."documents"; $billingDirectory = $manualPath."edi"; $billingDirectory2 = $manualPath."era"; +$billingLogDirectory = $manualPath."library/freeb"; $lettersDirectory = $manualPath."custom/letter_templates"; $gaclWritableDirectory = $manualPath."gacl/admin/templates_c"; $requiredDirectory1 = $manualPath."interface/main/calendar/modules/PostCalendar/pntemplates/compiled"; @@ -38,7 +39,7 @@ $gaclSetupScript2 = $manualPath."acl_setup.php"; //These are files and dir checked before install for // correct permissions. $writableFileList = array($conffile, $conffile2, $gaclConfigFile1, $gaclConfigFile2); -$writableDirList = array($docsDirectory, $billingDirectory, $billingDirectory2, $lettersDirectory, $gaclWritableDirectory, $requiredDirectory1, $requiredDirectory2); +$writableDirList = array($docsDirectory, $billingDirectory, $billingDirectory2, $billingLogDirectory, $lettersDirectory, $gaclWritableDirectory, $requiredDirectory1, $requiredDirectory2); include_once($conffile); -- 2.11.4.GIT