Difference between revisions of "PMSS:Setting welcome page whitelabeling for resellers"
From Pulsed Media Wiki
(Created page with "You can setup some basic whitelabeling rather easily for welcome page. Save into '''/etc/seedbox/config/vendor''' serialized array with name and pulsedBox. Default array is: <pr...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
<?php | <?php | ||
$vendorData = array('name' => 'MySeedbox', 'pulsedBox' => false); | $vendorData = array('name' => 'MySeedbox', 'pulsedBox' => false); | ||
− | file_put_contents('/etc/seedbox/config/vendor' | + | file_put_contents('/etc/seedbox/config/vendor', serialize($vendorData)); |
</pre> | </pre> | ||
− | then just execute that script as root on the seedbox server. | + | then just execute that script as root on the seedbox server. ie, if saved as makeVendor.php: php makeVendor.php |
+ | |||
+ | [[Category:PM Software Stack Guides]] | ||
+ | [[Category:Guides]] |
Latest revision as of 18:31, 29 December 2016
You can setup some basic whitelabeling rather easily for welcome page.
Save into /etc/seedbox/config/vendor serialized array with name and pulsedBox. Default array is:
$vendorDefault = array( 'name' => 'Pulsed Media', 'pulsedBox' => true );
Where pulsedBox is a boolean determining if to show pulsedBox information (this will probably automated in future) and name is what to display in "Welcome to your ...." title.
More options will be added as per requested.
To save this array you can do a script like this:
<?php $vendorData = array('name' => 'MySeedbox', 'pulsedBox' => false); file_put_contents('/etc/seedbox/config/vendor', serialize($vendorData));
then just execute that script as root on the seedbox server. ie, if saved as makeVendor.php: php makeVendor.php