Exemple #1
0
<?php

// Save this file as application/config[/env]mimeil.php and all LaMeil instances
// will be automatically accordingly configured.
//
// Keys are names of MiMeil's instance properties (see LaMeil->init()).
return array('from' => 'Example.com Robot<*****@*****.**>', 'returnPath' => null, 'copyTo' => array(), 'bccTo' => array(), 'priority' => 1, 'headers' => array(), 'bodyEncoding' => 'base64', 'bodyCharsets' => array('cp1251'), 'forceBodyCharset' => false, 'makeTextBodyFromHTML' => true, 'inlineCSS' => null, 'textBodyFormat' => 'flowed', 'headerEOLN' => "\n", 'eoln' => "\n", 'sortHeaders' => true, 'params' => '', 'simulate' => Request::is_env('local'), 'echoPath' => Request::is_env('local') ? path('storage') . 'mail' : false);
Exemple #2
0
<?php

return array('from' => Vane\Current::config('company.email'), 'returnPath' => null, 'copyTo' => array(), 'bccTo' => array(), 'headers' => array(), 'allowedHeaders' => array(), 'bodyEncoding' => 'base64', 'bodyCharsets' => array(), 'forceBodyCharset' => false, 'makeTextBodyFromHTML' => true, 'textBodyFormat' => 'flowed', 'allowedAttachments' => '1', 'headerEOLN' => "\n", 'sortHeaders' => true, 'params' => '', 'eoln' => "\r\n", 'skipRelatedAttIfNoHtmlBody' => true, 'priority' => 1, 'simulate' => Request::is_env('local'), 'echoPath' => Request::is_env('local') ? Bundle::path('vanemart') . 'storage/mail/' : false);
Exemple #3
0
/*
|--------------------------------------------------------------------------
| Start / Load The User Session
|--------------------------------------------------------------------------
|
| Sessions allow the web, which is stateless, to simulate state. In other
| words, sessions allow you to store information about the current user
| and state of your application. Here we'll just fire up the session
| if a session driver has been configured.
|
*/
if (!Request::cli() and Config::get('session.driver') !== '') {
    Session::load();
}
// @todo move this into a config file
if (Request::is_env('production')) {
    Config::set('error.detail', false);
}
Config::set('deploy_timestamp', file_get_contents('deploy_timestamp.txt'));
Auth::extend('rfpez', function () {
    return new RfpezAuth();
});
IoC::singleton('yaml_parser', function () {
    return new \Symfony\Component\Yaml\Parser();
});
IoC::singleton('yaml_dumper', function () {
    return new \Symfony\Component\Yaml\Dumper();
});
Event::listen('laravel.language.loader', function () {
    return array('asdfadsf' => 'asdf');
});
Exemple #4
0
?>
      <?php 
echo Section::yield('subnav');
?>
    </div>
    <?php 
echo $content;
?>
  </div>
  <?php 
if (!Config::get('application.maint') == true) {
    ?>
    <?php 
    echo View::make('partials.footer');
    ?>
  <?php 
}
?>
  <?php 
if (Request::is_env('production') || Request::is_env('ec2')) {
    ?>
    <script src="/js/vendor/google.analytics.js"></script>
    <script src="/js/vendor/jquery.formtimer.js"></script>
    <script>
      $(document).on("ready page:load", function() { $("form").formTimer(); });
    </script>
  <?php 
}
?>
</body>
</html>