mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-16 03:59:09 +03:00
19 lines
376 B
PHP
19 lines
376 B
PHP
<?php
|
|
|
|
namespace App\Controllers\Api\Images\Comments;
|
|
|
|
|
|
|
|
use App\Services\{Auth, Router, GenerateRandomStr, DB, Json, EXIF};
|
|
use App\Models\{User, Vote, Comment};
|
|
|
|
|
|
class Load
|
|
{
|
|
public function __construct()
|
|
{
|
|
|
|
$comments = DB::query('SELECT * FROM entities_data WHERE photo_id=:pid', array(':pid' => explode('/', $_SERVER['REQUEST_URI'])[4]));
|
|
|
|
}
|
|
}
|