Skip to content

Commit

Permalink
Define NOLOGIN on custom.css.php (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcharlaix-opendsi authored Apr 29, 2024
1 parent c558433 commit 9ba0e34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/theme/oblyon/custom.css.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

define('NOLOGIN', 1); // Allow the use of the custom CSS on public pages like tickets

$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";
Expand Down

0 comments on commit 9ba0e34

Please sign in to comment.