Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic $scripturl:How to (Read 406 times)
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
$scripturl:How to
Nov 17th, 2003 at 7:30am
Print Post  
I would like to modify quite a bit in Subs.pl to define $scripturl equal to other URL in some specific functions.I've tried the code below but it didn't work

Code
Select All
if (($action eq "actionA" || $action eq "actionB" || $action eq "actionC")) {
      [highlight size=2 color=red background=]$scripturl = qq~$boardurl/YaBBExtra.$yyext~;[/highlight]
      } else {
      $scripturl = qq~$boardurl/YaBB.$yyext~;
      } 



Any idea?

Thanks
Jake

Edited:
And I also tried $INFO{'action'} but it didn't work too
  

   
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint