Commit graph

327 commits

Author SHA1 Message Date
Erin Schnabel
b65bc09a4a move global include earlier.. 2003-03-03 04:44:39 +00:00
Thijs Kinkhorst
1b2eb45ea6 Remove unused pref. 2003-01-15 15:15:17 +00:00
tassium
984adca7a4 Squelching errors feels wrong, although in this case it's probably harmless.
Reworked timezone file code to be E_ALL clean without the use of @
2003-01-08 14:49:59 +00:00
Thijs Kinkhorst
ad6eef9bfb Supress PHP errors because we catch them ourselves. 2003-01-08 08:20:34 +00:00
Thijs Kinkhorst
ff5c115d57 Catch error if timezone file not present. Thanks Joshua Colson for the tip. 2003-01-07 08:48:37 +00:00
tassium
395dbb7219 Move $theme reset (avoids theme cookie exploit) to top, before config.php is loaded. Otherwise we just load the themes from config.php and promptly clear the array.
Developers: Please review for security implications.
2002-12-31 16:24:58 +00:00
tassium
a5931ffdbe Can't require config.php before strings.php since default config references $version. 2002-12-31 15:50:07 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Thijs Kinkhorst
f0fc6b10b3 Session naming in devel. 2002-12-30 19:52:19 +00:00
Thijs Kinkhorst
4f552ee17e Fixes for minor bugs pointed out by Tyler Akins.
These were found because Tyler has error_reporting set to E_ALL.
To all developers: *please TURN E_ALL ON* to prevent these!
2002-11-07 11:55:09 +00:00
Thijs Kinkhorst
1073fda4cd E_ALL fix 2002-11-03 14:26:11 +00:00
Thijs Kinkhorst
b1401713e8 Store highlighting rules differently to make them more reliable 2002-10-29 22:15:21 +00:00
Thijs Kinkhorst
bc654ad1e2 Obsolete array.php 2002-10-26 17:10:21 +00:00
stekkel
f8a9f2f0d8 sqimap_get_delimiter needs imap_stream 2002-10-24 09:26:51 +00:00
sizzlingmercury
a55cce3a7a Folder Selection changes integrated from sizzle-ui stream..
Options for how folder selection list is displayed is on Folder Options page
Folder lists on Search, Folders, and Folder Options Pages, as well
as Folder selection lists used by the Message Index and the
Delete_move_next plugin all modified to use new Option list
creation method in imap_mailbox.
2002-10-24 05:45:48 +00:00
Pontus Ullgren
bedc803405 #612148: Enable TZ in safe_mode if safe_mode_allowed_env_vars permits this bug 2002-10-23 20:44:48 +00:00
stekkel
b115d528b4 added unseen_cum 2002-10-17 19:15:38 +00:00
stekkel
d200899320 Added option to disable cumalative unseen count because status request are
slow. This will improve the speed of the mailbox generation proces
2002-10-17 19:14:50 +00:00
jmunro
9ab3d97bd7 This should fix the extra quoting when using magic_quotes_gpc. No need to do this in validate, lets do it in global. 2002-10-07 14:08:50 +00:00
jmunro
86fbc71ced sqsession_register fix 2002-10-07 06:16:18 +00:00
jmunro
a566b2c5af add themes support to plugins using SM_PATH 2002-10-07 00:58:18 +00:00
stekkel
218a672d48 fix warning: remove define SM_PATH because it's already defined 2002-09-25 14:00:42 +00:00
Thijs Kinkhorst
3f2f1ab879 Fix missing $username when rg=0 2002-09-25 13:52:57 +00:00
sizzlingmercury
cddac7a717 Update for session.auto_start:
If session is automatically started before the class
definitions are loaded, many functions (compose, certain
parts of read_body, download, etc.) will fail with the
following error:
The script tried to execute a method or access a
property of an incomplete object.

Still to do: ensure that we close the session using
session_write_close() as soon as the page is finished
loading session-specific variables to reduce
contention between frames.
2002-09-23 15:15:22 +00:00
Thijs Kinkhorst
5b9ce7663d Make directories unbrowsable. 2002-09-09 17:25:05 +00:00
Thijs Kinkhorst
2fb9d476ee Fix HTML-compliance here and there. 2002-09-08 15:04:47 +00:00
thomppj
de9848ded8 A terrible pile of things done to the code. Did a little bit of SM_PATH
stuff in plugins.

Then I moved some files:
  src/validate.php         -> include/validate.php
  src/load_prefs.php       -> include/load_prefs.php
  src/options_personal.php -> include/options/personal.php
  src/options_display.php  -> include/options/display.php
  src/options_folder.php   -> include/options/folder.php

Basically, the concept here is that src/ should ONLY contain files that
actually get called from the web browser as a php script directly. All
of these files do not really contain functions or anything (so the
functions/ directory did not really make sense), but were more strictly
include files.

Of course, the name functions for a directory is bad organization, IMHO,
anyhow. I guess class would fall in the same category. Oh well, some of
that might get fixed someday.

So, new rule. Only put it in src/ if it gets called directly.

That was really sort of an unwritten rule before. However, since it was
never really enforced or officialized, things got sloppy.

I think I have everything fixed in the CORE with this traumatic moves. I
am sure all of the plugins will be broken. Oh well, the error messages
should be pretty loud and easy enough to fix.
2002-09-06 01:16:40 +00:00