ÿØÿà JFIF H H ÿÛ C ÿÛ Cÿ " ÿÄ ÿÄ ÿÚ ±5¬€ ÿÄ àÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÄ àÿÚ ?! ÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÙ
| Server IP : 160.25.81.117 / Your IP : 216.73.216.137 Web Server : Apache/2 System : Linux sv05.hilab.cloud 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : bellizen ( 1045) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/bellizen/public_html/vaoday/public/admin_assets/plugins/tinymce/plugins/jbimages/ |
Upload File : |
<?php
/**
* Justboil.me - a TinyMCE image upload plugin
* jbimages/config.php
*
* Released under Creative Commons Attribution 3.0 Unported License
*
* License: http://creativecommons.org/licenses/by/3.0/
* Plugin info: http://justboil.me/
* Author: Viktor Kuzhelnyi
*
* Version: 2.3 released 23/06/2013
*/
/*
------------------------------------------------------------------
IMPORTANT NOTE! In case, when TinyMCE’s folder is not protected with HTTP Authorisation,
you should require is_allowed() function to return
`TRUE` if user is authorised,
`FALSE` - otherwise
is_allowed() can be found in jbimages/is_allowed.php
This is intended to protect upload script, if someone guesses it's url.
So, here we go...
| -------------------------------------------------------------------
|
| Path to upload target folder, relative to domain name. NO TRAILING SLASH!
| Example: if an image is acessed via http://www.example.com/images/somefolder/image.jpg, you should specify here:
|
| $config['img_path'] = '/images/somefolder';
|
| -------------------------------------------------------------------*/
// Change the paths as per your folders
$config['upload_path'] = $_SERVER['DOCUMENT_ROOT']."/"."ark_admin_v2/uploads/images" ;
$config['img_path'] = "http://".$_SERVER['SERVER_NAME'].'/ark_admin_v2/uploads/images' ;
/*-------------------------------------------------------------------
|
| Allowed image filetypes. Specifying something other, than image types will result in error.
|
| $config['allowed_types'] = 'gif|jpg|png';
|
| -------------------------------------------------------------------*/
$config['allowed_types'] = 'gif|jpg|png';
/*-------------------------------------------------------------------
|
| Maximum image file size in kilobytes. This value can't exceed value set in php.ini.
| Set to `0` if you want to use php.ini default:
|
| $config['max_size'] = 0;
|
| -------------------------------------------------------------------*/
$config['max_size'] = 0;
/*-------------------------------------------------------------------
|
| Maximum image width. Set to `0` for no limit:
|
| $config['max_width'] = 0;
|
| -------------------------------------------------------------------*/
$config['max_width'] = 0;
/*-------------------------------------------------------------------
|
| Maximum image height. Set to `0` for no limit:
|
| $config['max_height'] = 0;
|
| -------------------------------------------------------------------*/
$config['max_height'] = 0;
/*-------------------------------------------------------------------
|
| Allow script to resize image that exceeds maximum width or maximum height (or both)
| If set to `TRUE`, image will be resized to fit maximum values (proportions are saved)
| If set to `FALSE`, user will recieve an error message.
|
| $config['allow_resize'] = TRUE;
|
| -------------------------------------------------------------------*/
$config['allow_resize'] = TRUE;
/*-------------------------------------------------------------------
|
| Image name encryption
| If set to `TRUE`, image file name will be encrypted in something like 7fdd57742f0f7b02288feb62570c7813.jpg
| If set to `FALSE`, original filenames will be preserved
|
| $config['encrypt_name'] = TRUE;
|
| -------------------------------------------------------------------*/
$config['encrypt_name'] = FALSE;
/*-------------------------------------------------------------------
|
| How to behave if 2 or more files with the same name are uploaded:
| `TRUE` - the entire file will be overwritten
| `FALSE` - a number will be added to the newly uploaded file name
|
| -------------------------------------------------------------------*/
$config['overwrite'] = FALSE;
/*-------------------------------------------------------------------
|
| Target upload folder relative to document root. Most likely, you will not need to change this setting.
|
| -------------------------------------------------------------------*/
/*-------------------------------------------------------------------
|
| THAT IS ALL. HAVE A NICE DAY! )))
|
| -------------------------------------------------------------------*/
?>