Archived
1
0

Initial commit as of 2018-10-16

This commit is contained in:
Marcel
2018-10-16 18:28:42 +02:00
commit 29d7c2ffdc
3601 changed files with 358427 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?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<43>s folder is not protected with HTTP Authorisation,
| you should require is_allowed() function to return
| `TRUE` if user is authorised,
| `FALSE` - otherwise
|
| This is intended to protect upload script, if someone guesses it's url.
|
-------------------------------------------------------------------*/
function is_allowed()
{
if(isset($_SESSION['user']) && $_SESSION['user']['rank'] >= 6) return TRUE;
else return FALSE;
}
?>