mattpass
a141126214
Should test for true not false
2020-06-10 17:25:17 +01:00
mattpass
e201169e33
Settings updates
2020-06-04 21:17:15 +01:00
mattpass
582b6ffb82
null coalescing on possible IP array keys
2020-03-15 15:22:35 +00:00
mattpass
551e19e53a
Improved (trusted) client IP retrieval
2020-03-08 12:24:32 +00:00
mattpass
f3b78ae347
parent.parent. fixes on lib files
2020-02-29 10:15:02 +00:00
mattpass
8695640029
Remove top. from settings files, add parent.
2020-02-28 17:10:47 +00:00
mattpass
a44e97a84f
Change iconv to mb_convert_encoding
2020-02-03 10:26:51 +00:00
mattpass
de9e6f95ab
Remove use of strClean
2020-02-01 15:41:52 +00:00
Matt Pass
05ef861ff7
Merge pull request #797 from smokeypell/master
...
Fix for #791
2020-02-01 13:43:48 +00:00
mattpass
6ee95d3e76
Don't surpress session start errors, remove now deprecated function
2020-02-01 13:29:06 +00:00
mattpass
bb4565f231
Check iconv exists before use
2020-01-26 14:29:33 +00:00
Brent Pell
8cb91e28dc
Fix for Issue #791
...
When you hit the "Update" button in the settings menu for any reason, no matter
if you change anything or not, the password field in this file is updated and the
slashes"" are stripped and PHP can't properly read the hashed password without
the dollar signs escaped.
2019-11-20 20:23:27 -06:00
Matt Pass
287fb893b6
Move backups dir to new version
2019-09-27 17:25:33 +01:00
Matt Pass
745d47c13c
Check minimum requirements
2019-09-26 08:42:40 +01:00
Matt Pass
841c68efb7
Set indexed ts to epoch on demand
2019-09-14 17:21:31 +01:00
Matt Pass
523dbd6825
false param fallback added
2019-08-25 14:46:04 +01:00
Matt Pass
07055d97b6
New name & loc for log, serializer function added
2019-08-25 13:44:01 +01:00
Matt Pass
85c9f6aed9
Create data/backups dir if not yet existing & use
2019-08-18 18:28:55 +01:00
Matt Pass
bc67286bb6
Migrate to Bcrypt hashing for new passwords
...
Fall back to legacy sha1 password hashing
2019-08-13 00:11:52 +01:00
Rafael Rotelok
51ab472142
PSR-2 Compliance, removing the closing tag ( ?> ) on php only files
...
inserting a blank line on the end of php only files
2018-06-16 00:19:49 -03:00
Matt Pass
f689908848
Extra fallback to open file
2018-05-04 17:47:51 +01:00
Matt Pass
3a10a84c48
Can pass timeout, set def of 60, else text return
2016-10-18 08:58:38 +01:00
Matt Pass
707d3a9b03
Removing php.ini
...
Caused blank page issue for a few people - turning magic quotes off in
code is OK
2016-09-05 08:56:12 +01:00
Matt Pass
749dc212d9
Need to replace \ with / in fileLoc
2016-08-25 21:28:51 +01:00
Matt Pass
67e929dc75
injClean function added
2016-08-25 17:02:56 +01:00
Matt Pass
227eefa332
Can pass text as 3rd param now for die message
2016-08-25 14:54:38 +01:00
Matt Pass
893894f97b
Get data via new function
2016-08-25 14:39:19 +01:00
Matt Pass
d992173967
Function to get data via fopen or curl & used
2016-08-25 14:37:18 +01:00
Matt Pass
483ac6cd6c
Fix to backup files in root - // to / in path
2016-08-19 12:47:39 +01:00
Matt Pass
313002e4a0
Need to globalise text and set the array chunk
2016-07-11 08:46:15 +01:00
Matt Pass
67e28106f9
Use premade var rather than spec in another way
2016-05-05 16:01:53 +01:00
Matt Pass
191990ffdb
Change param and remove all other BOMs
2016-05-05 15:55:55 +01:00
Matt Pass
f83929584f
Revert "No need to set $origContent"
...
This reverts commit c967325b7d .
2016-05-05 15:54:17 +01:00
Matt Pass
c967325b7d
No need to set $origContent
2016-05-05 15:53:29 +01:00
Matt Pass
8a1fec4e18
Tweak to comment
2016-05-05 15:35:53 +01:00
Matt Pass
d686faf8a7
Replace only first BOM, include ending if needed
2016-05-05 15:35:43 +01:00
Matt Pass
6735caae36
UTF8 BOM should be replaced with a PHP_EOL
2016-04-26 09:15:55 +01:00
Matt Pass
0617f294cd
No newlines at EOF and remove file_exists
...
Existence of a dir is done on is_dir
2016-03-18 14:00:18 +00:00
MicroVB INC
7017ab1c33
Update settings-common.php
2016-03-16 18:20:22 -04:00
MicroVB INC
5d6299e3c8
Fix enumeration warning when localhost missing
...
Corrects the following error :
scandir(/var/www/html/ice/lib/../backups/localhost): failed to open dir: No such file or directory in /var/www/html/ice/lib/settings-common.php on line 190
(possible review required for if this is something that should be created before this method is called, or if a simple check as this patch does is all that is required.)
2016-03-16 18:16:02 -04:00
MicroVB INC
7d8b229153
Context is now accessible inside GetVersionCount()
...
globalized $context inside `GetVersionCount()` to eliminate `Notice: Undefined variable: context in /var/www/html/ice/lib/settings-common.php on line 203`
Added check if file is readable for `.version-index`'s inside the loop within `GetVersionCount()`
2016-03-16 12:59:59 -04:00
Matt Pass
c5996f7b23
Returns count and array now, rev scandir order
2015-10-08 09:25:11 +01:00
Matt Pass
b00ce2f7c9
Get number of versions for this file
2015-09-18 11:06:53 +01:00
Matt Pass
57bf19d69c
Undo change, overwrote commit by mistake
2015-08-13 10:47:24 +01:00
Matt Pass
1237d5868a
Changes to UTF-8 encoding logic
2015-08-13 08:51:38 +01:00
Matt Pass
f9418db57f
Check if string is strict UTF8 and if not encode
...
Handles other ISO formatted filetypes this way
2015-07-30 19:19:55 +01:00
Matt Pass
67d44e56bb
Don't set cookie_path or use strict mode
...
Using cookie_path on IE has an issue and causes session, then CSRF
issues
Stop using strict_mode as causes a problem on some setups
Add notes to these and httponly re IE and PHP version
2015-04-25 11:53:53 +01:00
Matt Pass
d320bb7172
Format tweak only
2015-04-25 10:50:00 +01:00
Andrey Grinenko
8f1cca087b
session fixation fix - previous version did not let me in, because it regenerated session before even trying to start old one and check whether it is valid or not.
...
I've also added session regeneration on login, which is good practice to prevent session fixation.
2015-02-21 02:58:44 +03:00
Matt Pass
9cb89463bb
Missing ]
2015-01-26 09:10:23 +00:00