1<?php
2
3if ( !defined( 'DIRECTORY_SEPARATOR' ) ) {
4    define( 'DIRECTORY_SEPARATOR',
5        strtoupper(substr(PHP_OS, 0, 3) == 'WIN') ? '\\' : '/'
6    ) ;
7}
8