Plugin Directory

Changeset 1903900


Ignore:
Timestamp:
07/04/2018 10:10:36 AM (8 years ago)
Author:
orcasteam
Message:

Updated to Version 1.3.2

Location:
gdpr-notice-original
Files:
6 added
4 edited
17 copied

Legend:

Unmodified
Added
Removed
  • gdpr-notice-original/tags/1.3.2/gdpr-notice-original.php

    r1899377 r1903900  
    44Plugin URI:   https://www.orcas.de/wordpress-plugin/gdpr-notice/
    55Description:  Helps to make your site more GDPR conform.
    6 Version:      1.3.1
     6Version:      1.3.2
    77Author:       orcas
    88Author URI:   https://www.orcas.de/
     
    1010License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    1111Text Domain:  gdpr-notice-original
    12 Domain Path:  languages/
     12Domain Path:  /languages
    1313*/
    1414if (!defined('ABSPATH')) {
  • gdpr-notice-original/tags/1.3.2/include/Upgrade/UpdateService.php

    r1895933 r1903900  
    188188                            file_put_contents($fileName, base64_decode($plugin['plugin']));
    189189
    190                             $zip->unzip_file($fileName, $path);
     190                            mkdir("$path/cache");
     191                            $zip->unzip_file($fileName, "$path/cache");
     192                            exec("cp -rf $path/cache $path");
    191193                            UpdateService::setPlugin("$path/$slugName");
    192194                            unlink($fileName);
     195                            exec("rm -rf $path/cache");
    193196                        } catch (\Exception $e) {}
    194197                    }
  • gdpr-notice-original/tags/1.3.2/include/autoload.php

    r1895933 r1903900  
    1414}
    1515$orcas_plugins[]       = array(
    16     'version' => '1.1.4',  // includes version number
     16    'version' => '1.1.3',  // includes version number
    1717    'path'    => __DIR__,
    1818);
     
    5353
    5454        $useIncludeFilter = true;
    55         if($pluginSlug[count($pluginSlug) - 1] == 'include') {
     55        if($pluginSlug[count($pluginSlug) - 1] == 'include' || $pluginSlug[count($pluginSlug) - 1] == 'core') {
    5656            $useIncludeFilter = false;
    5757        } else {
     
    6868
    6969                        include $dir . "/$entry/$entry.php";
    70 
    7170                        if (class_exists("\\de\\orcas\\wiki\\extension\\$entry")) {
    7271                            $extention = "\\de\\orcas\\wiki\\extension\\$entry";
     
    7978                                new $extention();
    8079                            }
    81                         }
     80                        } else if(class_exists("\\de\\orcas\\core\\$entry")) {
     81                            $extention = "\\de\\orcas\\core\\$entry";
     82                            if (!method_exists($extention, 'instance')) {
     83                                new $extention();
     84                            }
     85                        }
    8286                    }
    8387                }
     
    8892    }
    8993}
    90 
    9194orcas_load_dir(__DIR__ . '/../extension');
     95orcas_load_dir(__DIR__ . '/../core');
  • gdpr-notice-original/tags/1.3.2/readme.txt

    r1899377 r1903900  
    111111== Changelog ==
    112112
     113= 1.3.2 =
     114* Fixed a problem that crashed the system after upgrade to pro
     115
    113116= 1.3.1 =
    114117* Fixed problem with some ge_option checks
  • gdpr-notice-original/trunk/gdpr-notice-original.php

    r1899377 r1903900  
    44Plugin URI:   https://www.orcas.de/wordpress-plugin/gdpr-notice/
    55Description:  Helps to make your site more GDPR conform.
    6 Version:      1.3.1
     6Version:      1.3.2
    77Author:       orcas
    88Author URI:   https://www.orcas.de/
     
    1010License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    1111Text Domain:  gdpr-notice-original
    12 Domain Path:  languages/
     12Domain Path:  /languages
    1313*/
    1414if (!defined('ABSPATH')) {
  • gdpr-notice-original/trunk/include/Upgrade/UpdateService.php

    r1895933 r1903900  
    188188                            file_put_contents($fileName, base64_decode($plugin['plugin']));
    189189
    190                             $zip->unzip_file($fileName, $path);
     190                            mkdir("$path/cache");
     191                            $zip->unzip_file($fileName, "$path/cache");
     192                            exec("cp -rf $path/cache $path");
    191193                            UpdateService::setPlugin("$path/$slugName");
    192194                            unlink($fileName);
     195                            exec("rm -rf $path/cache");
    193196                        } catch (\Exception $e) {}
    194197                    }
  • gdpr-notice-original/trunk/include/autoload.php

    r1895933 r1903900  
    1414}
    1515$orcas_plugins[]       = array(
    16     'version' => '1.1.4',  // includes version number
     16    'version' => '1.1.3',  // includes version number
    1717    'path'    => __DIR__,
    1818);
     
    5353
    5454        $useIncludeFilter = true;
    55         if($pluginSlug[count($pluginSlug) - 1] == 'include') {
     55        if($pluginSlug[count($pluginSlug) - 1] == 'include' || $pluginSlug[count($pluginSlug) - 1] == 'core') {
    5656            $useIncludeFilter = false;
    5757        } else {
     
    6868
    6969                        include $dir . "/$entry/$entry.php";
    70 
    7170                        if (class_exists("\\de\\orcas\\wiki\\extension\\$entry")) {
    7271                            $extention = "\\de\\orcas\\wiki\\extension\\$entry";
     
    7978                                new $extention();
    8079                            }
    81                         }
     80                        } else if(class_exists("\\de\\orcas\\core\\$entry")) {
     81                            $extention = "\\de\\orcas\\core\\$entry";
     82                            if (!method_exists($extention, 'instance')) {
     83                                new $extention();
     84                            }
     85                        }
    8286                    }
    8387                }
     
    8892    }
    8993}
    90 
    9194orcas_load_dir(__DIR__ . '/../extension');
     95orcas_load_dir(__DIR__ . '/../core');
  • gdpr-notice-original/trunk/readme.txt

    r1899377 r1903900  
    111111== Changelog ==
    112112
     113= 1.3.2 =
     114* Fixed a problem that crashed the system after upgrade to pro
     115
    113116= 1.3.1 =
    114117* Fixed problem with some ge_option checks
Note: See TracChangeset for help on using the changeset viewer.