File: /home/bdedition/public_html/core/app/Constants/FileInfo.php
<?php
namespace App\Constants;
class FileInfo
{
/*
|--------------------------------------------------------------------------
| File Information
|--------------------------------------------------------------------------
|
| This class basically contain the path of files and size of images.
| All information are stored as an array. Developer will be able to access
| this info as method and property using FileManager class.
|
*/
public function fileInfo()
{
$data['verify'] = [
'path' => 'assets/verify'
];
$data['default'] = [
'path' => 'assets/images/default.png',
];
$data['ticket'] = [
'path' => 'assets/support',
];
$data['logoIcon'] = [
'path' => 'assets/images/logo_icon',
];
$data['favicon'] = [
'size' => '128x128',
];
$data['extensions'] = [
'path' => 'assets/images/extensions',
'size' => '36x36',
];
$data['seo'] = [
'path' => 'assets/images/seo',
'size' => '1180x600',
];
$data['userProfile'] = [
'path' => 'assets/images/user/profile',
'size' => '350x300',
];
$data['adminProfile'] = [
'path' => 'assets/admin/images/profile',
'size' => '400x400',
];
$data['push'] = [
'path' => 'assets/images/push_notification',
];
$data['maintenance'] = [
'path' => 'assets/images/maintenance',
'size' => '660x325',
];
$data['language'] = [
'path' => 'assets/images/language',
'size' => '50x50'
];
$data['pushConfig'] = [
'path' => 'assets/admin',
];
$data['advertisement'] = [
'path' => 'assets/images/advertisement'
];
$data['news'] = [
'path' => 'assets/images/news',
'size' => '900x500'
];
return $data;
}
}