-
-
Save buchin/3849393b135e0ca89b43 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| global $configs; | |
| $configs = new stdClass; | |
| $configs->domain = $_SERVER['SERVER_NAME']; | |
| $configs->timer = 25; | |
| $configs->amazon_tag = 'fregamonl0b-20'; | |
| $configs->infolinks = ' | |
| <script type="text/javascript"> | |
| var infolinks_pid = 405121; | |
| var infolinks_wsid = 0; | |
| </script> | |
| <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script> | |
| '; | |
| $configs->chitika = ' | |
| <script type="text/javascript"> | |
| ( function() { | |
| if (window.CHITIKA === undefined) { window.CHITIKA = { 'units' : [] }; }; | |
| var unit = {"calltype":"async[2]","publisher":"masagung1979","width":250,"height":250,"sid":"Chitika Default"}; | |
| var placement_id = window.CHITIKA.units.length; | |
| window.CHITIKA.units.push(unit); | |
| document.write('<div id="chitikaAdBlock-' + placement_id + '"></div>'); | |
| }()); | |
| </script> | |
| <script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script> | |
| '; | |
| $app = new Slim(array( | |
| 'mode' => 'development', | |
| 'view' => 'h2oView' | |
| )); | |
| $app->configureMode('development', 'configure_development'); | |
| function configure_development() | |
| { | |
| $app = Slim::getInstance(); | |
| $app->config(array( | |
| 'debug' => true | |
| )); | |
| } | |
| $app->configureMode('production', 'configure_production'); | |
| function configure_production() | |
| { | |
| $app = Slim::getInstance(); | |
| $app->config(array( | |
| 'debug' => false | |
| )); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment