Jump to content
  • 0

Flux error help pls


elcontrol00

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

tried doing this and i error? WOW... http://rathena.org/board/topic/58701-flux-cp-woe-time-and-castle/

Hello rA! i'm having this error with my flux :

Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting ')' in /home/rebelli2/public_html/config/servers.php on line 83

I tried to modify WoE times and for some reason i got that error can you guys please tell me if theres something wrong with this please or how to fix it please?

'WoeDayTimes' => array(
array(1, '20:00', 1, '21:00'), // Example: Starts Monday 8:00 PM and ends Monday 9:00 PM
array(2, '20:00', 2, '21:00') // Example: Starts Tuesday 8:00 PM and ends Tuesday 9:00 PM
array(3, '20:00', 3, '21:00'), // Example: Starts Wednesday 8:00 PM and ends Wenesday 9:00 PM
array(4, '20:00', 4, '21:00') // Example: Starts Thursday 8:00 PM and ends Thursday 9:00 PM
array(5, '20:00', 5, '21:00'), // Example: Starts Friday 8:00 PM and ends Friday 9:00 PM
array(6, '20:00', 6, '21:00') // Example: Starts Saturday 8:00 PM and ends Saturday 9:00 PM
array(0, '13:00', 0, '14:00'), // Example: Starts Sunday 1:00 PM and ends Sunday 2:00 PM
),
// Modules and/or actions to disallow access to during WoE.
'WoeDisallow' => array(
array('module' => 'character', 'action' => 'online'), // Disallow access to "Who's Online" page during WoE.
array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE.
)
)
)
)
);
?>

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   0
  • Joined:  12/17/11
  • Last Seen:  

replace with the below..

 

'WoeDayTimes' => array(
array(1, '20:00', 1, '21:00'), // Example: Starts Monday 8:00 PM and ends Monday 9:00 PM
array(2, '20:00', 2, '21:00'), // Example: Starts Tuesday 8:00 PM and ends Tuesday 9:00 PM
array(3, '20:00', 3, '21:00'), // Example: Starts Wednesday 8:00 PM and ends Wenesday 9:00 PM
array(4, '20:00', 4, '21:00'), // Example: Starts Thursday 8:00 PM and ends Thursday 9:00 PM
array(5, '20:00', 5, '21:00'), // Example: Starts Friday 8:00 PM and ends Friday 9:00 PM
array(6, '20:00', 6, '21:00'), // Example: Starts Saturday 8:00 PM and ends Saturday 9:00 PM
array(0, '13:00', 0, '14:00'), // Example: Starts Sunday 1:00 PM and ends Sunday 2:00 PM
),

Link to comment
Share on other sites

×
×
  • Create New...