Major cleanups
* Structures static file locations * Moves index.php to / * Updates paths all over * Hides menu items of unused features * Hides menu items of legacy features * Adds README
This commit is contained in:
1 parent
408bcb1859
commit
52cc657538
102 files changed
+167
-91
No files matched your search
@@ -420,9 +420,9 @@ function new_file($file, $dir) {
|
||||
|
||||
if ($f) {
|
||||
if ($dir == 'products') {
|
||||
$dir = 'images/products/';
|
||||
$dir = 'inside/images/products/';
|
||||
}else {
|
||||
$dir = "../../public_html/bilder/$dir/";
|
||||
$dir = "inside/images/uploads/$dir/";
|
||||
}
|
||||
$upFile = $dir.$newFile_name;
|
||||
|
||||
@@ -450,9 +450,9 @@ function new_file($file, $dir) {
|
||||
|
||||
function rename_file($old_name, $id, $dir, $report = true) {
|
||||
if ($dir == 'products')
|
||||
$dir = 'images/products/';
|
||||
$dir = 'inside/images/products/';
|
||||
else
|
||||
$dir = "../../public_html/bilder/$dir/";
|
||||
$dir = "inside/images/uploads/$dir/";
|
||||
|
||||
$ext = strtolower( pathinfo($old_name, PATHINFO_EXTENSION) );
|
||||
$old_name = $dir . $old_name;
|
||||
|
||||
Reference in new issue
Block a user