Jump to content

Question

Posted

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.
)
)
)
)
);
?>

 

1 answer to this question

Recommended Posts

Posted

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
),

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...