Jump to content

[SOLVED] Path problem...


Aureole

Recommended Posts

I've started developing on WAMP but I have a problem... I have something like this...

 

<?php
if( DEV_MODE == 1 )
{
define( 'ROOT_PATH', 'C:\\wamp\equinox\' );
}
else
{
define( 'ROOT_PATH', '/home/......./public_html/equinox/' );
}
?>

 

I'm getting the error:

 

Parse error: syntax error, unexpected T_STRING in C:\wamp\www\equinox\init.php on line 37

 

Of course, that's because of the back slashes... so how do I overcome this problem?

Link to comment
https://forums.phpfreaks.com/topic/90046-solved-path-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.