mattpass
7001178b79
No JS output before DOCTYPE, fix path for required file
2022-06-25 21:05:36 +01:00
mattpass
c5146d7f2b
Only consider writing if not in demoMode
2022-06-24 20:03:34 +01:00
mattpass
ab6610846c
Usernames can have alphanums, underscore and hyphen only
2022-06-17 14:23:41 +01:00
mattpass
d642ed0fab
Setup screen checks update box if needed, set bool not string
2021-07-27 09:12:03 +01:00
mattpass
dcf1f50cf0
Handling single user in multi user mode UX and first user is admin
2021-06-27 10:35:04 +01:00
mattpass
42d60ea48f
Set bug reporting for error.log, 10, 10
2021-06-26 22:18:40 +01:00
mattpass
23f86200e0
Start array with template details, layer actual ontop
2021-04-11 12:37:59 +01:00
mattpass
4a08853605
Auto-setting loggedIn not based on demoMode or empty pw, only go to login if req
2021-04-08 11:47:37 +01:00
mattpass
bc589549f3
Remove FTP functionality & UI from ICEcoder
2020-12-30 14:57:37 +00:00
mattpass
f54460319f
array_splice not unset to change int array keys
2020-07-21 09:21:10 +01:00
mattpass
b0a524f3a1
Lots of settings handling simplifications
2020-07-18 18:11:47 +01:00
mattpass
eb2c2ad0db
Check data dir, update to class methods, simpler code, don't escape pw
2020-07-11 10:08:35 +01:00
mattpass
0810c183c3
settings.php using new global config system, updater.php tweaked
2020-07-09 14:37:01 +01:00
mattpass
2a008d16d4
Change approach to getting OS type
2020-06-25 19:09:28 +01:00
mattpass
dcf646bfec
Invalidate OP cache before getting file contents
2020-06-24 09:23:28 +01:00
mattpass
e0caeb4cc8
ExtreProcesses, System and URL now indicated as classes
2020-06-20 07:39:24 +01:00
mattpass
e201169e33
Settings updates
2020-06-04 21:17:15 +01:00
mattpass
a81905093b
Improved settings.php
2020-05-31 14:10:19 +01:00
mattpass
551e19e53a
Improved (trusted) client IP retrieval
2020-03-08 12:24:32 +00:00
mattpass
8695640029
Remove top. from settings files, add parent.
2020-02-28 17:10:47 +00:00
mattpass
de9e6f95ab
Remove use of strClean
2020-02-01 15:41:52 +00:00
mattpass
bb22e9b254
Unescape $ when creating the password first time
2020-02-01 13:47:52 +00:00
mattpass
8ff9399466
Null coalescing to 1 if not available
2020-02-01 13:28:24 +00:00
mattpass
af8b923b1c
Request URI set in path
2020-01-19 10:26:20 +00:00
Matt Pass
a601ce5b50
Better error display for different cases
2019-10-01 08:43:04 +01:00
Matt Pass
38bdbe0b3b
Dup comment
2019-08-25 14:03:22 +01:00
Matt Pass
bfba1418fb
Rename of config files, stored in data dir
2019-08-25 13:39:31 +01:00
Matt Pass
88b2108159
Remove trial redir/time period, verifyHash added
2019-08-13 00:06:19 +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
8797e8f5e0
Simpler code moved to settings.php
2016-08-25 16:59:28 +01:00
Matt Pass
1d6c60c19a
Get data now via getData
2016-08-25 14:50:10 +01:00
Matt Pass
f3edf9e2ae
No longer hardcoded and now selection driven
2016-07-22 10:38:08 +01:00
Matt Pass
5a9cd5e85c
Change true to false if checkbox is set
2016-04-14 09:28:05 +01:00
Matt Pass
838612932c
Create duplicate IP based config file also
2016-04-08 10:22:10 +01:00
Matt Pass
e330a57da8
Rename var, as used in isset checks
...
Renamed var to distinguish from ftpSite, which is checked for existance
with isset and if available jumps into FTP mode. Having it previously
set to false, it's available, so erroneously goes into FTP mode with no
creds. This is a standalone var name now just to establish connection
channel.
2015-08-13 09:31:12 +01:00
Matt Pass
3222a3202c
FTP param structure added
2015-08-13 09:06:31 +01:00
Matt Pass
ab0cef93b7
isset check to avoid PHP notice
2015-06-26 13:58:10 +01:00
Matt Pass
1c79062baa
Only if logged in consider going to donate screen
...
Can't redir with PHP as targetting window, so do with JS and exit after
die also.
2015-06-26 12:16:52 +01:00
Matt Pass
7cab1933df
Include our new params file
2015-05-22 18:58:55 +01:00
Matt Pass
db5348cd68
Escape apostrophes
2015-05-09 09:41:44 +01:00
Matt Pass
fe2391e6ad
fileDirResOutput added and comments
2015-05-09 09:25:20 +01:00
Matt Pass
330ec0d605
Version 5.0
2015-05-02 14:57:27 +01:00
Matt Pass
3facbe2de6
If no filemtime value use time
2015-05-02 14:09:38 +01:00
Matt Pass
12e6bedf6d
CodeMirror dir renamed to just that
...
Dropped version number so we can see cleaner commit changes in future
2015-04-25 15:12:47 +01:00
Matt Pass
797df35ffe
Create config settings file on the fly
...
So we can update using PHP later
2015-04-25 10:13:45 +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
c322c501ac
previousFiles updated to only available files
...
Avoids ICEcoder asking to open files that are no longer available.
2014-12-15 15:36:40 +00:00
Matt Pass
670e3c47a6
Don't match ICEcoder path to doc root use basename
...
The 2 x if conditions added a security measure to avoid path traversals,
should languageBase or languageUser ever be set to something malicious
such as (eg ../../../../../../../etc/passwd)
However, it meant that the ICEcoder dir and the doc root dir paths had
to both start the same, and so be in the same location really. It was
previously a benefit to have them possibly contain different paths, but
this security point restricts this.
We can remove these 2 if conditions however and simply wrap the 2 array
values with basename(), so we take only the trailing file name and so
avoid path traversal issues.
2014-11-27 20:48:28 +00:00
Matt Pass
77c0f61d7b
Only update value if index.php
...
Causes file locking issues if allowed to be called from anywhere
Because we only call from index.php now, also need dirname(___FILE___)
to complete paths
2014-11-25 09:49:53 +00:00
Matt Pass
8d5715ebcd
Update configCreateDate if 0 and 14 full days
...
configCreateDate set if 0 now on every load, not just save
14 full days setup (1296000 - 1 sec), so doesn't start by showing 13
days (and 23 hrs, 59 secs)
If configCreateDate == 0, $tRemaining is the $tPeriod
2014-11-21 16:40:32 +00:00