mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
12 lines
319 B
PHP
12 lines
319 B
PHP
<?php
|
|
global $global, $config;
|
|
if (!isset($global['systemRootPath'])) {
|
|
require_once '../videos/configuration.php';
|
|
}
|
|
header('Content-Type: application/json');
|
|
|
|
$obj = new stdClass();
|
|
$obj->password = @$_REQUEST['pass'];
|
|
$obj->encryptedPassword=encryptPassword($obj->password);
|
|
|
|
echo json_encode($obj);
|