mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
added back .gitignores
This commit is contained in:
parent
f0f3dffc11
commit
eebbc08293
1
application/config/.gitignore
vendored
Normal file
1
application/config/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
local/*
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
'url' => 'http://localhost/laravel/public'
|
||||
|
||||
);
|
0
application/models/.gitignore
vendored
Normal file
0
application/models/.gitignore
vendored
Normal file
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Entities;
|
||||
|
||||
class User extends \Eloquent {
|
||||
|
||||
public function friends()
|
||||
{
|
||||
return $this->has_many('Entities\\Friend');
|
||||
}
|
||||
|
||||
public function roles()
|
||||
{
|
||||
return $this->has_and_belongs_to_many('Role');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Friend extends \Eloquent {}
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Role extends \Eloquent {}
|
0
modules/.gitignore
vendored
Normal file
0
modules/.gitignore
vendored
Normal file
0
packages/.gitignore
vendored
Normal file
0
packages/.gitignore
vendored
Normal file
8
public/.htaccess
Normal file
8
public/.htaccess
Normal file
@ -0,0 +1,8 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
RewriteRule ^(.*)$ index.php/$1 [L]
|
||||
</IfModule>
|
0
public/css/.gitignore
vendored
Normal file
0
public/css/.gitignore
vendored
Normal file
0
public/img/.gitignore
vendored
Normal file
0
public/img/.gitignore
vendored
Normal file
0
public/js/.gitignore
vendored
Normal file
0
public/js/.gitignore
vendored
Normal file
0
storage/cache/.gitignore
vendored
Normal file
0
storage/cache/.gitignore
vendored
Normal file
1
storage/db/.gitignore
vendored
Normal file
1
storage/db/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sqlite
|
Binary file not shown.
0
storage/sessions/.gitignore
vendored
Normal file
0
storage/sessions/.gitignore
vendored
Normal file
Loading…
x
Reference in New Issue
Block a user