Plugin Directory

Changeset 3362696


Ignore:
Timestamp:
09/16/2025 05:00:27 PM (6 months ago)
Author:
bitslip6
Message:

tag 4.8.1

Location:
bitfire
Files:
4 deleted
2 edited
47 copied

Legend:

Unmodified
Added
Removed
  • bitfire/tags/4.8.1/src/api.php

    r3362088 r3362696  
    11761176    $effect->api($effect->read_status() == STATUS_OK, "updated");
    11771177    // make sure we always clear the php file cache
    1178     $cached_config = get_hidden_file("config.ini.php");
     1178    $cached_config = get_hidden_file("config.json.php");
    11791179    if (file_exists($cached_config)) {
    11801180        unlink($cached_config);
  • bitfire/tags/4.8.1/src/util.php

    r3362225 r3362696  
    18201820    // something has gone very wrong at this point. (probably file permissions)
    18211821    // return the default config file
     1822    $path = '';
    18221823    $hidden_config = WAF_ROOT . "hidden_config/config.ini";
    18231824    $orig_config = WAF_ROOT . "orig_config/config.ini";
    1824     $path = '';
    1825     if (file_exists($hidden_config)) {
    1826         $path = $hidden_config;
    1827     }
    1828     else if (file_exists($orig_config)) {
    1829         $path = $orig_config;
    1830     }
     1825    if (file_exists($hidden_config)) { $path = $hidden_config; }
     1826    else if (file_exists($orig_config)) { $path = $orig_config; }
     1827    $hidden_config = WAF_ROOT . "hidden_config/config.json";
     1828    $orig_config = WAF_ROOT . "orig_config/config.json";
     1829    if (file_exists($hidden_config)) { $path = $hidden_config; }
     1830    else if (file_exists($orig_config)) { $path = $orig_config; }
     1831
    18311832    return $effect->out($path)->hide_output();
    18321833}
  • bitfire/trunk/src/api.php

    r3362088 r3362696  
    11761176    $effect->api($effect->read_status() == STATUS_OK, "updated");
    11771177    // make sure we always clear the php file cache
    1178     $cached_config = get_hidden_file("config.ini.php");
     1178    $cached_config = get_hidden_file("config.json.php");
    11791179    if (file_exists($cached_config)) {
    11801180        unlink($cached_config);
  • bitfire/trunk/src/util.php

    r3362225 r3362696  
    18201820    // something has gone very wrong at this point. (probably file permissions)
    18211821    // return the default config file
     1822    $path = '';
    18221823    $hidden_config = WAF_ROOT . "hidden_config/config.ini";
    18231824    $orig_config = WAF_ROOT . "orig_config/config.ini";
    1824     $path = '';
    1825     if (file_exists($hidden_config)) {
    1826         $path = $hidden_config;
    1827     }
    1828     else if (file_exists($orig_config)) {
    1829         $path = $orig_config;
    1830     }
     1825    if (file_exists($hidden_config)) { $path = $hidden_config; }
     1826    else if (file_exists($orig_config)) { $path = $orig_config; }
     1827    $hidden_config = WAF_ROOT . "hidden_config/config.json";
     1828    $orig_config = WAF_ROOT . "orig_config/config.json";
     1829    if (file_exists($hidden_config)) { $path = $hidden_config; }
     1830    else if (file_exists($orig_config)) { $path = $orig_config; }
     1831
    18311832    return $effect->out($path)->hide_output();
    18321833}
Note: See TracChangeset for help on using the changeset viewer.