Skip to content

Commit 3f2ed1e

Browse files
authored
Merge 2024rc (#155)
* Fix Access problem on custom CSS on public page
1 parent f3c6195 commit 3f2ed1e

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### Version 3.0.1 - Compatibility 14.0.x - 20-alpha (2024/04/29)
44
- Fix problem with function Show company name in invert menu (Remove function for the moment)
5+
- Fix Access problem on custom CSS on public page
56
- Finish move brand editor to "Inovea-Conseil"
67

78
### Version 3.0.0 - Compatibility 14.0.x - 20-alpha (2024/01/13)

themeoblyon/custom.css.php

+23-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,29 @@
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20-
$res = 0;
20+
if (!defined('NOREQUIRESOC')) {
21+
define('NOREQUIRESOC', '1');
22+
}
23+
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
24+
if (!defined('NOCSRFCHECK')) {
25+
define('NOCSRFCHECK', 1);
26+
}
27+
if (!defined('NOTOKENRENEWAL')) {
28+
define('NOTOKENRENEWAL', 1);
29+
}
30+
if (!defined('NOLOGIN')) {
31+
define('NOLOGIN', 1); // File must be accessed by logon page so without login.
32+
}
33+
if (!defined('NOREQUIREHTML')) {
34+
define('NOREQUIREHTML', 1);
35+
}
36+
if (!defined('NOREQUIREAJAX')) {
37+
define('NOREQUIREAJAX', '1');
38+
}
39+
40+
session_cache_limiter('public');
41+
42+
$res = 0;
2143
if (! $res && file_exists("../main.inc.php")) $res = @include "../main.inc.php";
2244
if (! $res && file_exists("../../main.inc.php")) $res = @include "../../main.inc.php";
2345
if (! $res && file_exists("../../../main.inc.php")) $res = @include "../../../main.inc.php";

0 commit comments

Comments
 (0)