File Manager
Pro
/data/web/virtuals/8819/virtual/www/subdom/auru
PHP 7.4.33
Linux
/data/web/virtuals/8819/virtual/www/subdom/auru/settings.php
6.6 KB
0640
Back
<?php include'includes/session.php'; include'includes/process.php'; ?> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <link href='assets/css/bootstrap.css' rel='stylesheet'> <link href='assets/css/materialize.css' rel='stylesheet'> <link href='assets/css/font-awesome.css' rel='stylesheet'> <script src='assets/js/jquery-3.2.1.min.js'></script> <script src='assets/js/materialize.js'></script> <style> .blue-grey-bor { border-color:#607d8b; } .clr-white { color:white; } </style> </head> <body> <?php include 'navigation.php'; ?> <br> <div class="container-fluid"> <!-- Title Header --> <div class="col-sm-12 col-md-12" style="margin-bottom:10px;"> <h5>Settings</h5> <li style="list-style: none;"> <a href="index.php">Home</a> / <a style="color:gray;">Settings</a> </li> </div> <!-- END Title Header --> <div class="row"> <div class="col-sm-12 col-md-6"> <div class="z-depth-2 panel blue-grey-bor"> <div class="panel-heading blue-grey clr-white">Path for File Uploader</div> <div class="panel-body"> <form class="install-form" method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="input-field"> <input class="validate" type="text" name="file-upload-path" id="file-upload-path" required /> <label for="file-upload-path">Path, use ../ for going back a folder</label> <span><b>Note:</b> This is the folder where files should be uploaded by the file uploader. e.g. uploads</span> </div> <div style="margin-top:5px;"> <?php $myFile = "config/paths.txt"; $lines = file($myFile); echo '<b>Current Path:</b> '. $lines[0] . ''; ?> </div> <br> <button class="btn waves-effect" type="submit" name="file-upload" >Save Settings</button> </form> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="z-depth-2 panel blue-grey-bor"> <div class="panel-heading blue-grey clr-white">Path for Remote Upload</div> <div class="panel-body"> <form class="install-form" method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="input-field"> <input class="validate" type="text" name="remote-upload-path" id="remote-upload-path" required /> <label for="remote-upload-path">Path, use ../ for going back a folder</label> <span><b>Note:</b> This is the folder where files should be transloaded(downloaded) by the remote uploader. e.g. uploads</span> </div> <div style="margin-top:5px;"> <?php $myFile = "config/paths.txt"; $lines = file($myFile); echo '<b>Current Path:</b> '. $lines[1] . ''; ?> </div> <br> <button class="btn waves-effect" type="submit" name="remote-upload" >Save Settings</button> </form> </div> </div> </div> </div> <div class="row"> <div class="col-sm-12 col-md-6"> <div class="z-depth-2 panel blue-grey-bor"> <div class="panel-heading blue-grey clr-white">Path for Mass Delete</div> <div class="panel-body"> <form class="install-form" method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="input-field"> <input class="validate" type="text" name="mass-delete-path" id="mass-delete-path" required /> <label for="mass-delete-path">Path, use ../ for going back a folder</label> <span><b>Note:</b> This is the folder from which the files will be deleted having a specific extension by mass deleter. e.g. uploads</span> </div> <div style="margin-top:5px;"> <?php $myFile = "config/paths.txt"; $lines = file($myFile); echo '<b>Current Path:</b> '. $lines[2] . ''; ?> </div> <br> <button class="btn waves-effect" type="submit" name="mass-delete" >Save Settings</button> </form> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="z-depth-2 panel blue-grey-bor"> <div class="panel-heading blue-grey clr-white">Path for File Manager</div> <div class="panel-body"> <form class="install-form" method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="input-field"> <input class="validate" type="text" name="root_path" id="root_path" required /> <label for="root_path">root_path</label> <span><b>Note:</b> This is the folder name to show files from in the file manager. e.g. uploads </div> <div style="margin-top:5px;"> <?php $myFile = "config/paths.txt"; $lines = file($myFile); echo '<b>Current Path:</b> '. $lines[3] . ''; ?> </div> <div class="input-field"> <input class="validate" type="text" name="root_url" id="root_url" required /> <label for="root_url">Path Relative to site root </label> <span><b>Note:</b> This should be same as root_path.In case, if you have placed Auru in a subfolder then make sure to write the full path to root_path folder.</span> </div> <div style="margin-top:5px;"> <?php $myFile = "config/paths.txt"; $lines = file($myFile); echo '<b>Current Path:</b> '. $lines[4] . ''; ?> </div> <p></p> <button class="btn waves-effect" type="submit" name="file-manager" >Save Settings</button> </form> </div> </div> </div> </div> </div> </body>
Cancel
Download
Save changes
File Manager Pro · single-file PHP 7.4.33 on Linux · paths encrypted in URL (AES-256-CTR)