projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
skip invalid files
[Pman.Core]
/
UploadProgress.php
diff --git
a/UploadProgress.php
b/UploadProgress.php
index
58b58f0
..
7616fbf
100644
(file)
--- a/
UploadProgress.php
+++ b/
UploadProgress.php
@@
-14,20
+14,19
@@
class Pman_Core_UploadProgress extends Pman
return true;
}
return true;
}
- function get()
+ function get(
$v, $opts=array()
)
{
{
-
-
+ $this->sessionState(0); // turn off the session..
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
- print_r('in');
if ( !function_exists('uploadprogress_get_info')) {
$this->jok(false);
}
if ( !function_exists('uploadprogress_get_info')) {
$this->jok(false);
}
- print_r('in2');
if (!empty($_GET['id'])) {
// var_dump(uploadprogress_get_info($_GET['id']));
if (!empty($_GET['id'])) {
// var_dump(uploadprogress_get_info($_GET['id']));
- $this->jok(uploadprogress_get_info($_GET['id']));
+ $ret = uploadprogress_get_info($_GET['id']);
+
+ $this->jok($ret);
}
$this->jerr("no data");
}
}
$this->jerr("no data");
}