mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 02:18:48 +00:00
jappixmini: include jappix source
This commit is contained in:
parent
61eb1f0d18
commit
302b2820d1
231 changed files with 96082 additions and 2 deletions
37
jappixmini/jappix/php/get-store.php
Normal file
37
jappixmini/jappix/php/get-store.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
|
||||
Jappix - An open social platform
|
||||
This is the store configuration GET handler (manager)
|
||||
|
||||
-------------------------------------------------
|
||||
|
||||
License: AGPL
|
||||
Author: Vanaryon
|
||||
Last revision: 26/08/11
|
||||
|
||||
*/
|
||||
|
||||
// Someone is trying to hack us?
|
||||
if(!defined('JAPPIX_BASE'))
|
||||
exit;
|
||||
|
||||
// Purge requested
|
||||
if(isset($_GET['p']) && preg_match('/^((everything)|(cache)|(logs)|(send)|(updates))$/', $_GET['p'])) {
|
||||
purgeFolder($_GET['p']);
|
||||
?>
|
||||
|
||||
<p class="info smallspace success"><?php _e("The storage folder you wanted to clean is now empty!"); ?></p>
|
||||
|
||||
<?php }
|
||||
|
||||
// Folder view?
|
||||
if(isset($_GET['b']) && isset($_GET['s'])) {
|
||||
if($_GET['b'] == 'share')
|
||||
$share_folder = urldecode($_GET['s']);
|
||||
else if($_GET['b'] == 'music')
|
||||
$music_folder = urldecode($_GET['s']);
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue