Skip to content

Instantly share code, notes, and snippets.

View abponcio's full-sized avatar
🤫

Anthony Bryle Poncio abponcio

🤫
  • Hello Chef
  • Dubai
View GitHub Profile
hello
@abponcio
abponcio / bwconf.txt
Created January 10, 2019 07:26
bw Configuration
<?php
// HTTP
define('HTTP_SERVER_MAIN', 'http://shop.globe.localhost');
define('HTTP_SERVER', 'http://shop.globe.localhost/');
//define('HTTP_SERVER_MAIN', 'http://localhost');
//define('HTTP_SERVER', 'http://localhost/broadway/');
// HTTPS
define('HTTPS_SERVER_MAIN', 'http://shop.globe.localhost');
@abponcio
abponcio / image.txt
Created January 10, 2019 07:25
Image Configuration
if (defined('CACHE_LOCAL') && CACHE_LOCAL) {
if (!$filename) {
return;
}
if(!is_file(DIR_IMAGE . $filename) || filesize(DIR_IMAGE . $filename) <= 0) {
$filename = 'no_image.jpg';
}
$info = pathinfo($filename);
@abponcio
abponcio / apache.conf
Created January 10, 2019 07:10
Apache configuration Cheat sheet
#Set Hosts to be used
<Directory "/hosts">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
# Set Tools to be used
<Directory "/tools">

Keybase proof

I hereby claim:

  • I am abponcio on github.
  • I am aponcio (https://keybase.io/aponcio) on keybase.
  • I have a public key ASBO26kXvTk8zpgvph0rvxMLv4wzqeg9fdAEMsIkE8me7wo

To claim this, I am signing this object: