projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
121c3e2
)
Scrambled graphic images to avoid unwanted downloads.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 18 Nov 2010 00:49:53 +0000
(
00:49
+0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 18 Nov 2010 00:49:53 +0000
(
00:49
+0000)
CHANGELOG.txt
patch
|
blob
|
history
reporting/rep102.php
patch
|
blob
|
history
reporting/rep202.php
patch
|
blob
|
history
reporting/rep706.php
patch
|
blob
|
history
reporting/rep707.php
patch
|
blob
|
history
diff --git
a/CHANGELOG.txt
b/CHANGELOG.txt
index fd4db12fbd1213852a5cb906b29384f94ae5a493..d5e230574531f2586013cc6e9f453b87ca27d1fd 100644
(file)
--- a/
CHANGELOG.txt
+++ b/
CHANGELOG.txt
@@
-19,6
+19,13
@@
Legend:
! -> Note
$ -> Affected files
! -> Note
$ -> Affected files
+18-Nov-2010 Joe Hunt
+! Scrambled graphic images to avoid unwanted downloads.
+$ /reporting/rep102.php
+ /reporting/rep202.php
+ /reporting/rep706.php
+ /reporting/rep707.php
+
16-Nov-2010 Joe Hunt
# Minor change in class.graphic.inc
$ /reporting/includes/class.graphic.inc
16-Nov-2010 Joe Hunt
# Minor change in class.graphic.inc
$ /reporting/includes/class.graphic.inc
diff --git
a/reporting/rep102.php
b/reporting/rep102.php
index 2daae18d0406c6846f44e9e2fdfc88228b602562..04a55faebea09157ff21fec6d1d998803e841c27 100644
(file)
--- a/
reporting/rep102.php
+++ b/
reporting/rep102.php
@@
-231,7
+231,7
@@
function print_aged_customer_analysis()
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = company_path(). "/
images/test
.png";
+ $filename = company_path(). "/
pdf_files/". uniqid("")."
.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
diff --git
a/reporting/rep202.php
b/reporting/rep202.php
index c77b657b89e1b021fe658b06c778f479e7419378..2eb27559689efe240c53f395c0a60089ea79f773 100644
(file)
--- a/
reporting/rep202.php
+++ b/
reporting/rep202.php
@@
-237,7
+237,7
@@
function print_aged_supplier_analysis()
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = company_path(). "/pdf_files/
test
.png";
+ $filename = company_path(). "/pdf_files/
". uniqid("")."
.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
diff --git
a/reporting/rep706.php
b/reporting/rep706.php
index ef975869b821ddbfee174542a1f2ac7b1fcf0cba..8a0e4d459c60bdac2f50db7607a3490781c8842a 100644
(file)
--- a/
reporting/rep706.php
+++ b/
reporting/rep706.php
@@
-307,7
+307,7
@@
function print_balance_sheet()
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = company_path(). "/pdf_files/
test
.png";
+ $filename = company_path(). "/pdf_files/
". uniqid("")."
.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
diff --git
a/reporting/rep707.php
b/reporting/rep707.php
index 68b62694944c0f2928156c88b612523851a4c25b..211e504fe473aa04a68eca5a7cd2d4de2f09d60a 100644
(file)
--- a/
reporting/rep707.php
+++ b/
reporting/rep707.php
@@
-325,7
+325,7
@@
function print_profit_and_loss_statement()
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
$pg->skin = $graph_skin;
$pg->built_in = false;
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = company_path(). "/pdf_files/
test
.png";
+ $filename = company_path(). "/pdf_files/
". uniqid("")."
.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;