Plugin Directory

Changeset 3180362


Ignore:
Timestamp:
11/02/2024 01:33:29 PM (17 months ago)
Author:
abrain
Message:

Reorganize files

Location:
einsatzverwaltung/trunk
Files:
1 added
1 edited
30 moved

Legend:

Unmodified
Added
Removed
  • einsatzverwaltung/trunk/einsatzverwaltung.php

    r3179937 r3180362  
    44Plugin URI: https://einsatzverwaltung.org
    55Description: Public incident reports for fire departments and other rescue services
    6 Version: 1.12.0
     6Version: 1.13.0-dev
    77Author: Andreas Brain
    88Author URI: https://www.abrain.de
     
    2727
    2828        $parts = explode('\\', $class);
    29         $filename = '';
    30         $numberOfParts = count($parts);
    31         for ($index = 2; $index < $numberOfParts; $index++) {
    32             $filename .= DIRECTORY_SEPARATOR;
    33             $filename .= $parts[$index];
    34         }
     29        array_splice($parts, 0, 2);
     30        $filename = 'includes' . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $parts) . '.php';
    3531
    36         include dirname(__FILE__) . "$filename.php";
     32        include dirname(__FILE__) . DIRECTORY_SEPARATOR . $filename;
    3733    });
    3834} catch (Exception $exception) {
  • einsatzverwaltung/trunk/includes/Core.php

    r3180361 r3180362  
    2020class Core
    2121{
    22     const VERSION = '1.12.0';
     22    const VERSION = '1.13.0-dev';
    2323    const DB_VERSION = 80;
    2424
Note: See TracChangeset for help on using the changeset viewer.