php - how can i reference $_SERVER['DOCUMENT_ROOT'] in a .htaccess file? -


How can I reference the document route from within a root file?

i.e.:

I currently

  php_value auto_prepend_file C: /wamp/www/hf_latest_desktop/prepend.php  

I would like

  php_value auto_prepend_file ** AUTO_DOC_ROOT ** prepend.php  

Where '** AUTO_DOC_ROOT **' root path

You can not do Apache configuration file does not support it.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -