1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Minor code style patch.

This commit is contained in:
Caleb Mazalevskis 2019-12-23 21:02:31 +08:00
parent 8108fc1e68
commit 172fa35b49
No known key found for this signature in database
GPG key ID: 082E6BC1046FAB95
15 changed files with 72 additions and 79 deletions

View file

@ -1,4 +1,3 @@
<?php <?php
include './customize_settings_native.php'; include './customize_settings_native.php';
include './customize_settings_plugin.php'; include './customize_settings_plugin.php';
?>

View file

@ -324,6 +324,3 @@ switch ($_GET['page']) {
</script> </script>
</body> </body>
</html> </html>

View file

@ -1,5 +1,4 @@
<?php <?php
header('Content-Type: application/json'); header('Content-Type: application/json');
global $global, $config; global $global, $config;
if (!isset($global['systemRootPath'])) { if (!isset($global['systemRootPath'])) {

View file

@ -1,5 +1,4 @@
<?php <?php
if (isset($_GET['getLanguage'])) { if (isset($_GET['getLanguage'])) {
$lngFile = './'.strtolower(str_replace(['.', '/', '\\'], '', $_GET['getLanguage'])).'.php'; $lngFile = './'.strtolower(str_replace(['.', '/', '\\'], '', $_GET['getLanguage'])).'.php';

View file

@ -1,5 +1,4 @@
<?php <?php
header('Content-Type: application/json'); header('Content-Type: application/json');
if (empty($global['systemRootPath'])) { if (empty($global['systemRootPath'])) {
$global['systemRootPath'] = "../"; $global['systemRootPath'] = "../";