Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed magic quote recommendations from install instructions, script…

…s and ubuntu/debian package
  • Loading branch information...
commit 1a22b35fe60ce21f36f9da116648978523b53c2d 1 parent 3e75ae1
@bradymiller bradymiller authored
View
2  INSTALL
@@ -183,7 +183,7 @@ directory. In windows, the XAMPP 1.7.0 package places the php.ini file in
the xampp\apache\bin\ directory. To ensure proper functioning of OpenEMR
you must make sure that settings in the php.ini file include
"short_open_tag = On", "display_errors = Off", "register_globals = Off",
-"magic_quotes_gpc = On", "max_execution_time" set to at least 60,
+"max_execution_time" set to at least 60,
"max_input_time" set to at least 90 , "post_max_size" set to at least 30M,
and "memory_limit" set to at least "128M". In order to take full advantage
of the patient documents capability you must make sure that settings in
View
6 contrib/util/ubuntu_package_scripts/production/postinst
@@ -476,8 +476,6 @@ case "$1" in
GLOB=$(collect_php "$GLOB_TEXT")
POST_TEXT="post_max_size"
POST=$(collect_php "$POST_TEXT")
- MAGIC_TEXT="magic_quotes_gpc"
- MAGIC=$(collect_php "$MAGIC_TEXT")
UPLOAD_TEXT="file_uploads"
UPLOAD=$(collect_php "$UPLOAD_TEXT")
FILESIZE_TEXT="upload_max_filesize"
@@ -529,9 +527,6 @@ case "$1" in
if [ "$POST" -lt "30" ]; then
process_php "$POST_TEXT" "30M" $i
fi
- if [ "$MAGIC" != "On" ]; then
- process_php "$MAGIC_TEXT" "On" $i
- fi
if [ "$UPLOAD" != "On" ]; then
process_php "$UPLOAD_TEXT" "On" $i
fi
@@ -561,7 +556,6 @@ case "$1" in
log_only "log_errors = On"
log_only "register_globals = Off"
log_only "post_max_size = 30M"
- log_only "magic_quotes_gpc = On"
log_only "file_uploads = On"
log_only "upload_max_filesize = 30M"
fi
View
2  setup.php
@@ -522,7 +522,7 @@ function cloneClicked() {
$gotFileFlag = 1;
}
}
-echo "<li>To ensure proper functioning of OpenEMR you must make sure that settings in php.ini file include \"short_open_tag = On\", \"display_errors = Off\", \"register_globals = Off\", \"magic_quotes_gpc = On\", \"max_execution_time\" set to at least 60, \"max_input_time\" set to at least 90, \"post_max_size\" set to at least 30M, and \"memory_limit\" set to at least \"128M\".</li>\n";
+echo "<li>To ensure proper functioning of OpenEMR you must make sure that settings in php.ini file include \"short_open_tag = On\", \"display_errors = Off\", \"register_globals = Off\", \"max_execution_time\" set to at least 60, \"max_input_time\" set to at least 90, \"post_max_size\" set to at least 30M, and \"memory_limit\" set to at least \"128M\".</li>\n";
echo "<li>In order to take full advantage of the patient documents capability you must make sure that settings in php.ini file include \"file_uploads = On\", that \"upload_max_filesize\" is appropriate for your use and that \"upload_tmp_dir\" is set to a correct value that will work on your system.</li>\n";
if (!$gotFileFlag) {
echo "<li>If you are having difficulty finding your php.ini file, then refer to the <a href='INSTALL' target='_blank'><span STYLE='text-decoration: underline;'>'INSTALL'</span></a> manual for suggestions.</li>\n";
Please sign in to comment.
Something went wrong with that request. Please try again.