Initial import

This commit is contained in:
sas.fajri
2026-05-25 20:01:37 +07:00
commit 710d7c1b97
10371 changed files with 2381698 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
class Photo extends CI_Controller
{
var $base_dir = "/home/one/project/one/one-media/one-photo/patient/";
function test() {
echo "Test";
}
function small(){
$y = $this->input->get("y");
$pid = $this->input->get("pid");
$foto_file = $this->base_dir . "$y" . "/" . $pid . "_thumb.jpg";
header('Content-type: image/jpg');
echo file_get_contents($foto_file);
}
}
?>