how to change this little line?

Discussion in 'PHP' started by nevret2, Apr 18, 2008.

  1. #1
    hello, i have 2 blogs

    2 directorys:

    blog/1
    blog/2

    blog 2 has a php file with include_once(ABSPATH . 'wp-admin/includes/admin.php');

    but i dont want him read the admin panel in blog2/wp-admin/includes/admin.php

    but the one in blog1/wp-admin/includes/admin.php

    how can i change blog 2 has a php file with include_once(ABSPATH . 'wp-admin/includes/admin.php'); so it will read the admin php of blog 1?

    thnx
     
    nevret2, Apr 18, 2008 IP
  2. CreativeClans

    CreativeClans Peon

    Messages:
    128
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Subsitute ABSPATH with the path to blog1
     
    CreativeClans, Apr 18, 2008 IP