Announcement

Collapse
No announcement yet.

define(VB_RELATIVE_PATH, './forums/');

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rcull
    replied
    Worked!

    Thanks

    Leave a comment:


  • Sqυιd
    replied
    The define line should be:
    define('VB_RELATIVE_PATH', './forums/');

    Notice the single quotes around the constant you are trying to define.

    Leave a comment:


  • rcull
    started a topic define(VB_RELATIVE_PATH, './forums/');

    define(VB_RELATIVE_PATH, './forums/');

    My error log is complaining about this, what would be the best way to correct it?

    [01-Oct-2015 06:52:43] PHP Notice: Use of undefined constant VB_RELATIVE_PATH - assumed 'VB_RELATIVE_PATH' in /home/teambuic/public_html/index.php on line 3

    index.php:

    <?php
    //header('Location: http://teambuick.com/forums/forum.php/');
    define(VB_RELATIVE_PATH, './forums/');
    chdir('./' . VB_RELATIVE_PATH);
    require('content.php');
    ?>

    Thanks,

Related Topics

Collapse

Working...
X