forked from BootstrapCMS/CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
597c5d1
commit 279bbaa
Showing
34 changed files
with
442 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Bootstrap CMS. | ||
* | ||
* (c) Graham Campbell <graham@mineuk.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
return [ | ||
|
||
/* | ||
* The paths where the assets will be searched in, relative to the project. | ||
*/ | ||
'search_paths' => [ | ||
'/vendor', | ||
'/resources/assets', | ||
], | ||
|
||
/* | ||
* The directory, relative to "public" where the assets will be published to. | ||
*/ | ||
'public_dir' => 'assets', | ||
|
||
/* | ||
* Turn on/off assets minification. | ||
*/ | ||
'minify' => false, | ||
|
||
/* | ||
* The patterns for minified assets. | ||
* | ||
* If an asset filename contains one of these patterns, then it will be | ||
* considered already minified and skip the minification process. | ||
*/ | ||
'minify_patterns' => ['-min.', '.min.'], | ||
|
||
/* | ||
* Turn on/off assets caching. | ||
*/ | ||
'use_cache' => true, | ||
|
||
]; |
2 changes: 1 addition & 1 deletion
2
...ges/graham-campbell/cloudflare/config.php → config/cloudflare.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ckages/graham-campbell/contact/config.php → config/contact.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/graham-campbell/credentials/config.php → config/credentials.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ages/graham-campbell/logviewer/config.php → config/logviewer.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...kages/graham-campbell/markdown/config.php → config/markdown.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...kages/graham-campbell/security/config.php → config/security.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...kages/graham-campbell/throttle/config.php → config/throttle.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
database/migrations/2012_12_06_225921_migration_cartalyst_sentry_install_users.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Bootstrap CMS. | ||
* | ||
* (c) Graham Campbell <graham@mineuk.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
class MigrationCartalystSentryInstallUsers extends Migration { | ||
|
||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::create('users', function (Blueprint $table) { | ||
$table->increments('id'); | ||
$table->string('email'); | ||
$table->string('password'); | ||
$table->text('permissions')->nullable(); | ||
$table->boolean('activated')->default(0); | ||
$table->string('activation_code')->nullable(); | ||
$table->timestamp('activated_at')->nullable(); | ||
$table->timestamp('last_login')->nullable(); | ||
$table->string('persist_code')->nullable(); | ||
$table->string('reset_password_code')->nullable(); | ||
$table->string('first_name')->nullable(); | ||
$table->string('last_name')->nullable(); | ||
$table->timestamps(); | ||
|
||
// We'll need to ensure that MySQL uses the InnoDB engine to | ||
// support the indexes, other engines aren't affected. | ||
$table->engine = 'InnoDB'; | ||
$table->unique('email'); | ||
$table->index('activation_code'); | ||
$table->index('reset_password_code'); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::drop('users'); | ||
} | ||
} |
Oops, something went wrong.