Skip to content

Commit

Permalink
Merge 2024rc (#155)
Browse files Browse the repository at this point in the history
* Fix Access problem on custom CSS on public page
  • Loading branch information
aspangaro authored Apr 29, 2024
1 parent f3c6195 commit 3f2ed1e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

### Version 3.0.0 - Compatibility 14.0.x - 20-alpha (2024/01/13)
Expand Down
24 changes: 23 additions & 1 deletion themeoblyon/custom.css.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,29 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

$res = 0;
if (!defined('NOREQUIRESOC')) {
define('NOREQUIRESOC', '1');
}
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
if (!defined('NOCSRFCHECK')) {
define('NOCSRFCHECK', 1);
}
if (!defined('NOTOKENRENEWAL')) {
define('NOTOKENRENEWAL', 1);
}
if (!defined('NOLOGIN')) {
define('NOLOGIN', 1); // File must be accessed by logon page so without login.
}
if (!defined('NOREQUIREHTML')) {
define('NOREQUIREHTML', 1);
}
if (!defined('NOREQUIREAJAX')) {
define('NOREQUIREAJAX', '1');
}

session_cache_limiter('public');

$res = 0;
if (! $res && file_exists("../main.inc.php")) $res = @include "../main.inc.php";
if (! $res && file_exists("../../main.inc.php")) $res = @include "../../main.inc.php";
if (! $res && file_exists("../../../main.inc.php")) $res = @include "../../../main.inc.php";
Expand Down

0 comments on commit 3f2ed1e

Please sign in to comment.