How to get PHP to swap back slash to forward slash automatically in Linux? -


i have problem windows uses \ directory_separator , code written use \. because of nature of application code replicated many times.

i find solution not require me edit code, since want move code linux server. linux uses / directory_separator code not recognize it.

is there way make linux use both \ , / windows without having edit code? i.e php.ini or cpanel?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -