From 187e1e5ddacfa64e77973fe9a13391c8b5e12c26 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 24 Jan 2008 23:13:40 +0000 Subject: [PATCH] Support for windows --- html/admin/htaccess.cfg | 9 +++++++++ html/admin/sql/account_repository/schema.sql | 4 ---- html/htaccess.cfg | 9 +++++++++ include/htaccess.cfg | 2 ++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100755 html/admin/htaccess.cfg create mode 100755 html/htaccess.cfg create mode 100644 include/htaccess.cfg diff --git a/html/admin/htaccess.cfg b/html/admin/htaccess.cfg new file mode 100755 index 000000000..93f64799e --- /dev/null +++ b/html/admin/htaccess.cfg @@ -0,0 +1,9 @@ +php_value include_path .;..\..\include;..\include;addon +php_flag magic_quotes_gpc off +php_flag session.auto_start on +php_value session.save_path c:\temp +php_value max_execution_time 240 +php_value memory_limit 12M +# for php 5 php_value upload_tmp_dir /tmp +AddDefaultCharset latin1 + diff --git a/html/admin/sql/account_repository/schema.sql b/html/admin/sql/account_repository/schema.sql index 14f309fa3..1fe96f50c 100644 --- a/html/admin/sql/account_repository/schema.sql +++ b/html/admin/sql/account_repository/schema.sql @@ -81,7 +81,3 @@ CREATE TABLE version ( ); CREATE INDEX fk_jnt_dos_id ON jnt_use_dos USING btree (dos_id); CREATE INDEX fk_jnt_use_dos ON jnt_use_dos USING btree (use_id); -REVOKE ALL ON SCHEMA public FROM PUBLIC; -REVOKE ALL ON SCHEMA public FROM postgres; -GRANT ALL ON SCHEMA public TO postgres; -GRANT ALL ON SCHEMA public TO PUBLIC; diff --git a/html/htaccess.cfg b/html/htaccess.cfg new file mode 100755 index 000000000..93f64799e --- /dev/null +++ b/html/htaccess.cfg @@ -0,0 +1,9 @@ +php_value include_path .;..\..\include;..\include;addon +php_flag magic_quotes_gpc off +php_flag session.auto_start on +php_value session.save_path c:\temp +php_value max_execution_time 240 +php_value memory_limit 12M +# for php 5 php_value upload_tmp_dir /tmp +AddDefaultCharset latin1 + diff --git a/include/htaccess.cfg b/include/htaccess.cfg new file mode 100644 index 000000000..ff2beb844 --- /dev/null +++ b/include/htaccess.cfg @@ -0,0 +1,2 @@ +order deny,allow +deny from all