ok
Direktori : /usr/share/l.v.e-manager/panelless-version/example/ |
Current File : //usr/share/l.v.e-manager/panelless-version/example/user_info.php |
#!/bin/php <?php /** * Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved * * Licensed under CLOUD LINUX LICENSE AGREEMENT * http://cloudlinux.com/docs/LICENSE.TXT */ $userName = trim(`whoami`); $userType = $userName == 'root' ? 'admin' : 'user'; ?> { "userName": "<?php echo $userName;?>", "userType": "<?php echo $userType;?>", "lang": "en", "assetsUri": "<?php echo $userType === 'admin' ? "/admin/lvemanager" : '/' . $userName . '/cwp_theme/original/lvemanager' ?>", "baseUri": "<?php echo $userType === 'admin' ? "/admin/lvemanager" : '.' ?>", "defaultDomain": "user1.com" }