precache_sound or const
Which is better?
PHP Code:
PHP Code:
|
Re: precache_sound or const
If you are using that string in more than 1 place in your code, you should use the constant, because it will only be used once in memory.
Then for file_exists(), you can create a variable to add the sound folder. |
Re: precache_sound or const
Thank you.
|
| All times are GMT -4. The time now is 10:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.