Initial commit

This commit is contained in:
Péntek Sándor
2016-06-18 10:07:35 +02:00
commit 41c686945a
398 changed files with 36832 additions and 0 deletions
.DS_Storeapi.phpconfig.phpcore.php
data
favicon.ico
includes
index.php
plugins
.DS_Store
ckeditor
_plugin.php
adapters
build-config.jsckeditor.jsconfig.jsconfig.old.jscontents.cssinfo.json
lang
plugins
skins
styles.js
ckeditor_simple
disqus
facebook-comments
facebook-root
facebook-share
filtr_stat
friendurl-jquery
galleria-io
index.html
twitter-root
twitter-tweet
themes

9
data/upload.php Normal file

@ -0,0 +1,9 @@
<?php
if (isset($_FILES["upload"]) && $_FILES["upload"]["error"] < 1 && in_array($_FILES["upload"]["type"], explode(',', $_set['allowedPicTypes'])))
{
if (move_uploaded_file($_FILES["upload"]["tmp_name"], 'data/uploads/'.$_FILES["upload"]["name"]))
die($_locale['upload_successful']);
}
echo $_locale['upload_failed'];