Skip to content

Instantly share code, notes, and snippets.

@geek01
Created August 19, 2019 08:15
Show Gist options
  • Save geek01/7e729750b80ef244476fca7650b1dbcf to your computer and use it in GitHub Desktop.
Save geek01/7e729750b80ef244476fca7650b1dbcf to your computer and use it in GitHub Desktop.
Xoops強制變更佈景
<?php
$theme = 'THEME NAME';
$GLOBALS['xoopsConfig']['theme_set'] = $theme;
$GLOBALS['xoopsConfig']['theme_set_allowed'][] = $theme;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment