Hi,

I am having a problem with my ckeditor. Whenever I insert an image in ckeditor and save it the image turn to [x]. The "\" mark in the file name disappeared. I am trying to fix the code:


ckeditor_php5.php

if (isset($_SERVER['SCRIPT_FILENAME'])) {
$realPath = dirname($_SERVER['SCRIPT_FILENAME']);
	}
	else {
	/**
 * realpath - Returns canonicalized absolute pathname
 */
$realPath = realpath( './' ) ;
	}

I wonder how to fix it. I already try to redownload the ckeditor and the same problem still remains.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.