Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Overlook determine global variable
#5
haha, this was already fixed in 2.01
Code:
function get_page_url($a=false) {
        global $url;
        global $SITEURL;
        global $PRETTYURLS;
        global $parent;

        if (!$a) {
            echo find_url($url, $parent);
        } else {
            return find_url($url, $parent);
        }
        
    }
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
Overlook determine global variable - by ccagle8 - 2010-02-26, 12:29:28
Overlook determine global variable - by ccagle8 - 2010-02-26, 13:15:08
Overlook determine global variable - by ccagle8 - 2010-02-26, 13:18:25



Users browsing this thread: 1 Guest(s)