first commit

This commit is contained in:
dev@siliconpin.com
2025-08-07 11:53:41 +05:30
commit a3067c5ad4
4795 changed files with 782758 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
$t=0;//echo APP_DIR;
$filepath = $_GET['loc'];
foreach (glob(APP_DIR."/CONTENT/ROOT_URI/".$filepath."/*") as $filename)
// echo
{
$filename =explode('/', $filename);
$filename =end($filename);
$ret->fname[$t]=$filename;
$t++;
}
if($t<1){
$ret->msg="No files found";
}
else $ret->status="y";
echo json_encode($ret);
?>