-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New views to publish like login, logo sidebar, automated alerts generators, changes on design.
- Loading branch information
Christian
committed
Feb 18, 2019
1 parent
2337349
commit 7b0e25f
Showing
183 changed files
with
65,711 additions
and
62,327 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
if (!function_exists('getCurrentGitCommit')) { | ||
function getCurrentGitCommit() | ||
{ | ||
$commitHash = trim(exec('git log --pretty="%h" -n1 HEAD')); | ||
|
||
$commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci HEAD'))); | ||
$commitDate->setTimezone(new \DateTimeZone('Europe/Madrid')); | ||
|
||
return sprintf('#%s - (%s)', $commitHash, $commitDate->format('d/m/Y H:i:s')); | ||
} | ||
} |
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,32 @@ | ||
<?php | ||
|
||
namespace Omatech\Mage\App\Providers; | ||
|
||
use Illuminate\Support\ServiceProvider; | ||
|
||
class HelpersServiceProvider extends ServiceProvider | ||
{ | ||
/** | ||
* Register any other events for your application. | ||
* | ||
* @return void | ||
*/ | ||
public function boot() | ||
{ | ||
$this->helpers(); | ||
} | ||
|
||
/** | ||
* Register the application middlewares. | ||
* | ||
* @return void | ||
*/ | ||
private function helpers() | ||
{ | ||
$files = array_diff(scandir(__DIR__.'/../Helpers/'), array('..', '.')); | ||
|
||
foreach ($files as $file) { | ||
require_once __DIR__.'/../Helpers/'.$file; | ||
} | ||
} | ||
} |
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
Binary file added
BIN
+122 KB
src/resources/dist/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.eot
Binary file not shown.
Oops, something went wrong.