M
MiG
Hello,
I was trying to remove required script (plugin) from memory via =20
remove_const.
It works fine but after that the require method doesn't require the scrip=
t =20
again.
It's because or $" array which contains already required file names.
Unfortunately the $" variable is read-only so I have to
1. temporarily rename the script, then require it or
2. use eval instead of require
Do you think is there a better solution?
thank you,
jan molic
I was trying to remove required script (plugin) from memory via =20
remove_const.
It works fine but after that the require method doesn't require the scrip=
t =20
again.
It's because or $" array which contains already required file names.
Unfortunately the $" variable is read-only so I have to
1. temporarily rename the script, then require it or
2. use eval instead of require
Do you think is there a better solution?
thank you,
jan molic