Commit 95bb9dfe authored by Shawn McCool's avatar Shawn McCool

Merge branch 'hotfix/fix_markdown' into develop

Conflicts:
	laravel/documentation/install.md
parents bcdde022 a6c28050
......@@ -23,7 +23,8 @@
1. [Download Laravel](http://laravel.com/download)
2. Extract the Laravel archive and upload the contents to your web server.
3. Set the value of the **key** option in the **config/application.php** file to a random, 32 character string.
4. Navigate to your application in a web browser.
4. Verify that the `storage/views` directory is writable.
5. Navigate to your application in a web browser.
If all is well, you should see a pretty Laravel splash page. Get ready, there is lots more to learn!
......@@ -41,6 +42,9 @@ If you are having problems installing, try the following:
- Make sure the **public** directory is the document root of your web server. (see: Server Configuration below)
- If you are using mod_rewrite, set the **index** option in **application/config/application.php** to an empty string.
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> hotfix/fix_markdown
- Verify that your storage folder and the folders within are writable by your web server.
<a name="server-configuration"></a>
......@@ -57,10 +61,9 @@ A very basic example of an Apache VirtualHost configuration for MySite might loo
ServerName mysite.dev
</VirtualHost>
Notice that while we installed to **/Users/JonSnow/Sites/MySite** our DocumentRoot points to /Users/JonSnow/Sites/MySite/public**.
Notice that while we installed to **/Users/JonSnow/Sites/MySite** our DocumentRoot points to **/Users/JonSnow/Sites/MySite/public**.
While pointing the DocumentRoot to the public folder is a commonly used best-practice, it's possible that you may need to use Laravel on a host that does not allow you to update your DocumentRoot. A collection of algorithms to circumvent this need can be found [http://forums.laravel.com/viewtopic.php?id=1258](on the Laravel forums.)
>>>>>>> feature/docs-install
While pointing the DocumentRoot to the public folder is a commonly used best-practice, it's possible that you may need to use Laravel on a host that does not allow you to update your DocumentRoot. A collection of algorithms to circumvent this need can be found [on the Laravel forums.](http://forums.laravel.com/viewtopic.php?id=1258)
<a name="basic-configuration"></a>
## Basic Configuration
......
......@@ -33,7 +33,7 @@ Next, you should create a corresponding **marketing.php** file within the **appl
Nice! Now you know how to get started setting up your language files and directories. Let's keep localizing!
<a name="basics"></a>
<a name="get"></a>
## Retrieving A Language Line
#### Retrieving a language line:
......
......@@ -205,7 +205,7 @@ class Input {
*/
public static function has_file($key)
{
return ! is_null(static::file("{$key}.tmp_name"));
return strlen(static::file("{$key}.tmp_name", "")) > 0;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment