Use configured resolution for login/outgame/ingame
[ryzomcore.git] / web / public_php / ams / misc / check-exists.php
blobbcba38866e0045452d6abeeaa6c2351c0618df35
1 <?php
2 /*
3 Uploadify
4 Copyright (c) 2012 Reactive Apps, Ronnie Garcia
5 Released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
6 */
8 // Define a destination
9 $targetFolder = '/uploads'; // Relative to the root and should match the upload folder in the uploader script
11 if (file_exists($_SERVER['DOCUMENT_ROOT'] . $targetFolder . '/' . $_POST['filename'])) {
12 echo 1;
13 } else {
14 echo 0;