kewlhotrod

Untitled

Jul 1st, 2013
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <RalieghFhang> Anyways, for anyone, why won't this line work?
  2. <RalieghFhang> fs.readFile('/home/shoutcast/' + path + '', function (err, config){
  3. * imd23 ([email protected]) Quit (Quit: imd23)
  4. <RalieghFhang> Setting that variable path does a multitude of things
  5. * pretty_f_ ([email protected]) Quit
  6. <RalieghFhang> shoutcast/"' + path + '"' <--- That tries to enter the quotation marks into the path
  7. * pretty_function ([email protected]) has joined #Node.js
  8. * iwalkbarefoot (~iwalkbare@unaffiliated/iwalkbarefoot) has joined #Node.js
  9. <RalieghFhang> shoutcast/' + path + '' <----- That tries to enter that character I can't seem to remember its name to into the path
  10. * kewah ([email protected]) has joined #Node.js
  11. * Nathandim ([email protected]) Quit (Quit: Leaving)
  12. * _Renegade ([email protected]) has joined #Node.js
  13. <RalieghFhang> shoutcast/' + path + ' <---- That one doesn't close the full path and gives me an illegal error.
  14. <RalieghFhang> Any words of wisdom?
Advertisement
Add Comment
Please, Sign In to add comment