Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    help question /includes/functions /admin/includes/functions Why do the same functions exist?

    Would some kind soul please explain to me why the same functions exists in /includes/functions and /admin/includes/functions?
    I was just noticing that the /includes/functions/functions_prices.php is newer than the /admin/includes/functions/functions_prices.php

    Wouldn't it be simpler to keep from having different code to only have them once?

    I notice that these are not the only functions that exists in both places.

    Thank you!

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: /includes/functions /admin/includes/functions Why do the same functions ex

    Because that's how it was designed over a decade ago. By now work is being done to get rid of the duplication. Al lot have already been eliminated, but not all.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: /includes/functions /admin/includes/functions Why do the same functions ex

    @Design75 answered the question perfectly.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 10
    Last Post: 8 Mar 2017, 07:59 PM
  2. v151 admin/includes/functions/compatibility.php
    By makenoiz in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 11 Dec 2012, 11:53 PM
  3. Replies: 2
    Last Post: 31 Oct 2007, 10:00 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