Oakweb About SPAW setting

xiaoxiao2021-03-06  69

Just edited the experiment, very good, then remember: 1, build a folder 2, // base url for images $ spaw_base_url = './'; must reset the path to use photos. 3, when INSTALL, the file spaw_control.default.config.php - "Spaw_control.config.php Next is: // this part determines the Physical root of Your Website // it's up to you how to do thisif"!! ('/ $', $ Http_server_vars ['Document_Root'])) $ _ROOT = $ http_server_vars ['Document_Root']. '/'; Else $ _ROOT = $ http_server_vars ['Document_Root'];

Define ('DR', $ _ROOT); unset ($ _ root);

// set $ spaw_root variable to the physical path were control resides // do not forget to modify other settings in config / spaw_control.config.php // namely $ spaw_dir and $ spaw_base_url most likely require your modification $ spaw_root = DR. ' Spaw / ';

// Include the control fileinclude $ spaw_root.'spaw_control.class.php ';

$ SW = new spaw_wysiwyg ('spaw1' / * name * /, isset ($ http_post_vars ['spAW1'])? StripsLashS ($ http_post_vars ['spaw1']): '' / * value * /, 'en' / * Language * /, 'Full' / * Toolbar Mode * /, '' / * theme * /, '800px' / * width * /, '600px' / * height * /, '', ''); $ SW- > show ();

转载请注明原文地址:https://www.9cbs.com/read-92055.html

New Post(0)