Make style.php require query parameter puid for specific stylesheets
This commit is contained in:
parent
6d1bc974a0
commit
1bdb3c916a
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ $scheme_modified = 0;
|
|||
|
||||
if ($a->module !== 'install') {
|
||||
// Get the UID of the profile owner.
|
||||
$uid = Profile::getThemeUid();
|
||||
$uid = defaults($_REQUEST, 'puid', 0);
|
||||
if ($uid) {
|
||||
PConfig::load($uid, 'frio');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue