Zen Cart Logo
Forums / Addon Language Packs / php files in <myadmin>/include/language/english don't get called

php files in <myadmin>/include/language/english don't get called

Views: 1,809

Results 1 to 2 of 2
30 Oct 2011, 12:32 PM
#1
grossd avatar

grossd

Zen Follower

Join Date:
Sep 2005
Posts:
173
Plugin Contributions:
0

php files in <myadmin>/include/language/english don't get called

Hello,

I am not sure if this is a bug,or whether i am missing something.

I have a whole bunch of predefined files in <myadmin>/includes/english directory, all of which define constants. Interestingly,these files don't seem to be included/called when i click around in the admin interface. When taking one file (which i had defined myself) into the <myadmin>/includes/english/extra_definitions directory,then it gets called and the constant defined obtains its value.

it just doesnt make sense to me that 30-40 files in the "english" directory are not called.Something must be wrong.

Any suggestions would be much appreciated.

30 Oct 2011, 1:36 PM
#2
grossd avatar

grossd

Zen Follower

Join Date:
Sep 2005
Posts:
173
Plugin Contributions:
0

Re: php files in <myadmin>/include/language/english don't get called

I think i know what happened:

the file name in the english directory must be exactly the same as the file name of a corresponding file in the <myadmin> directory. Apparently, thats how it works.

for some reason i thought that all files in the english directory are getting loading

thanks,

Danie