Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    2,123
    Plugin Contributions
    3

    Default Plugin Installer - "language" typo

    In BasePluginInstaller.php

    Code:
        protected function loadInstallerLanguageFile($file)
        {
            $lng = $_SESSION['language'];
            $filename = $this->pluginDir . '/installer/langauages/' . $lng . '/' . $file;
            if (file_exists($filename)) {
                require_once($filename);
            }
        }
    Should be 'Installer/languages' - so, uppercase I for Installer and a typo on languages.

    Also, the indentation on the description in https://docs.zen-cart.com/dev/plugin...anguage_files/ is incorrect but that is a minor issue. Languages should be indented more than Installer

  2. #2
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Plugin Installer

    Fixes applied in GitHub
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v155 Plugin sql, auto-installer, self-deletion
    By torvista in forum Contribution-Writing Guidelines
    Replies: 6
    Last Post: 26 Sep 2017, 01:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR