| Index
» Projekty
» phpMyEdit
» Fórum
» path to images and other add-on files... |
 |
gschenk
Založený: 10.12.2003
Príspevky: 4
Zaslal: 2004-01-23 18:19
Návrat hore
Odpovedať s citátom
|
Just a thought:
in my "scenario" (maybe not just mine:-) there´s all the PhpMyEdit - files (including images etc) in one folder, but my personal configuration files are located in different directories (has to be that way, just for having my database related php-stuff organized).
Right now I did tweak the phpmyedit class, so that the related images (those edit etc icons, you know) are getting displayed, when my config files are located in "outside" directories (right now it´s just the general database functions which work) -- but I suggest that setting a general global variable within a configuration file (like e.g. $path_to_phpmyedit = "../phpmyedit/";) would surely make sense, because this tweak would generate proper links to add-ons like the JS-Date Picker as well, and it allows for having the main class and all its related files "centralized". Hmmm, good idea?
Günter
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-01-23 19:33
Návrat hore
Odpovedať s citátom
|
Did you try
$opts['url'] = array('images' => 'path_to_images/');
;-)
|
gschenk
Založený: 10.12.2003
Príspevky: 4
Zaslal: 2004-01-23 19:58
Návrat hore
Odpovedať s citátom
|
Uh no I didnt´t - shame on me :-)
Thanks !!!
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|