From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 26 Jun 2008 17:05:55 +0000 Subject: changed your-site.com to example.com doc-wide --- system/application/config/config.php | 8 ++++---- system/application/config/routes.php | 2 +- system/libraries/URI.php | 2 +- system/plugins/captcha_pi.php | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'system') diff --git a/system/application/config/config.php b/system/application/config/config.php index 814362326..f8fd9c809 100644 --- a/system/application/config/config.php +++ b/system/application/config/config.php @@ -8,7 +8,7 @@ | URL to your CodeIgniter root. Typically this will be your base URL, | WITH a trailing slash: | -| http://www.your-site.com/ +| http://example.com/ | */ $config['base_url'] = "http://127.0.0.1/CodeIgniter/"; @@ -132,16 +132,16 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; |-------------------------------------------------------------------------- | | By default CodeIgniter uses search-engine friendly segment based URLs: -| www.your-site.com/who/what/where/ +| example.com/who/what/where/ | | You can optionally enable standard query string based URLs: -| www.your-site.com?who=me&what=something&where=here +| example.com?who=me&what=something&where=here | | Options are: TRUE or FALSE (boolean) | | The other items let you set the query string "words" that will | invoke your controllers and its functions: -| www.your-site.com/index.php?c=controller&m=function +| example.com/index.php?c=controller&m=function | | Please note that some of the helpers won't work as expected when | this feature is enabled, since CodeIgniter is designed primarily to diff --git a/system/application/config/routes.php b/system/application/config/routes.php index a05361e28..c95924832 100644 --- a/system/application/config/routes.php +++ b/system/application/config/routes.php @@ -9,7 +9,7 @@ | and its corresponding controller class/method. The segments in a | URL normally follow this pattern: | -| www.your-site.com/class/method/id/ +| example.com/class/method/id/ | | In some instances, however, you may want to remap this relationship | so that a different class/function is called than the one diff --git a/system/libraries/URI.php b/system/libraries/URI.php index 8d979d0d2..c3dfef1d8 100644 --- a/system/libraries/URI.php +++ b/system/libraries/URI.php @@ -296,7 +296,7 @@ class CI_URI { * This function generates and associative array of URI data starting * at the supplied segment. For example, if this is your URI: * - * www.your-site.com/user/search/name/joe/location/UK/gender/male + * example.com/user/search/name/joe/location/UK/gender/male * * You can use this function to generate an array with this prototype: * diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php index baa0a8dc5..0c8d7d29c 100644 --- a/system/plugins/captcha_pi.php +++ b/system/plugins/captcha_pi.php @@ -27,7 +27,7 @@ Once loaded you can generate a captcha like this: $vals = array( 'word' => 'Random word', 'img_path' => './captcha/', - 'img_url' => 'http://www.your-site.com/captcha/', + 'img_url' => 'http://example.com/captcha/', 'font_path' => './system/fonts/texb.ttf', 'img_width' => '150', 'img_height' => 30, @@ -69,7 +69,7 @@ The create_captcha() function returns an associative array with this data: ) The "image" is the actual image tag: - + The "time" is the micro timestamp used as the image name without the file extension. It will be a number like this: 1139612155.3422 @@ -104,7 +104,7 @@ On the page where the captcha will be shown you'll have something like this: $this->load->plugin('captcha'); $vals = array( 'img_path' => './captcha/', - 'img_url' => 'http://www.your-site.com/captcha/' + 'img_url' => 'http://example.com/captcha/' ); $cap = create_captcha($vals); -- cgit v1.2.3-24-g4f1b