#!/usr/bin/perl # Do NOT use the -w flag on the path to Perl in the above line!!! # Do call Perl "perl5", that forces Perl to run under a sub-language, just call it "perl" # Do NOT use STRICT, the taint flag, or any other brain-dead OOP modules or settings $url_to_editor = "http://www.missoldppi.co.uk/editor/editor.cgi"; # absolute URL to this file (lower case only) $url_to_wrx_library_folder = "http://www.missoldppi.co.uk/editor/wrx_library"; # absolute URL to wrx_library folder (lower case only) $path_to_library = "/homepages/6/d38358774/htdocs/missoldppi/editor/wrx_library"; # PATH to library folder (library must be inside the domain path) # PATH must be absolute server path, not relative path # on Win servers do not use a backslash (\), instead use the slash (/) $remote_updates = 0; # set to 1 to turn remote updates on @separators=qw(sep1 sep2 sep3 sep4 sep5 sep6 sep7 sep8 sep9 sep10 sep11); # edit only to remove a separator from the toolbar $winserver=0; # change this variable ONLY if you are on a Win server and ONLY if # file uploading does not upload any files, and ONLY after you have # read and followed the instructions on the FAQ at # http://editWRX.com/faq.html#temp ################################################# ## DO NOT EDIT BELOW HERE ################################################# if($remote_updates == 1){ require IO::Socket; } use CGI::Carp qw(fatalsToBrowser); $path_to_library =~ s!/$!!; $editor_htm = $path_to_library."/editor.htm"; require "$editor_htm";