summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README18
-rw-r--r--program/lib/imap.inc2
2 files changed, 19 insertions, 1 deletions
diff --git a/README b/README
index 2a85bd061..7d36bf102 100644
--- a/README
+++ b/README
@@ -39,6 +39,24 @@ already have a corresponding entry in the user's table (username and hostname)
will be allowed.
+Code Layout:
+------------
+
+Basic sequence (index.php):
+ - index.php -> load_gui -> parse_template
+ - authentication details in this sequence
+
+Tasks
+ - index.php limits tasks to set list
+ - can see task in roundcube link when you mouse over it
+ - task templates stored in skins/default/templates
+ - templates "roundcube:" tokens that get replaced in parse_template
+
+program/include/rcube_shared.inc
+ - defines rcube_html_page, class that lays out a roundcube web page
+ - defines form control classes
+
+
Installation:
-------------
For detailed instructions on how to install RoundCube webmail on your server,
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 6067d81b8..9f63cdc33 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -613,7 +613,7 @@ function iil_StrToTime($str){
//$month_a=array("Jan"=>1,"Feb"=>2,"Mar"=>3,"Apr"=>4,"May"=>5,"Jun"=>6,"Jul"=>7,"Aug"=>8,"Sep"=>9,"Oct"=>10,"Nov"=>11,"Dec"=>12);
$month_str=$a[1];
$month=$IMAP_MONTHS[$month_str];
- $day=$a[0];
+ $day=(int)$a[0];
$year=$a[2];
$time=$a[3];
$tz_str = $a[4];