Constants & Includes
I am writing an include with stocks/defines/constants in order to not have to write them in every plugin, but i ran into some trouble, so could anyone please tell me
What is the proper way to integrate these constants from a plugin into an include ? I know for the one dimensional constant i can use #define to not get warnings, but for the other two ? PHP Code:
|
Re: Constants & Includes
What warnings?
|
Re: Constants & Includes
"Symbol is never used"
|
Re: Constants & Includes
Use
PHP Code:
|
Re: Constants & Includes
Thanks
|
Re: Constants & Includes
you could also make them as defines
PHP Code:
|
| All times are GMT -4. The time now is 20:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.