Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.34 KB

README.md

File metadata and controls

64 lines (44 loc) · 1.34 KB

Personal Homepage WAMP

Features:

  • Display www directories
  • Display virtual host
  • Custom thumbnails
  • Example for create a new virtual host
  • Alias with favicon stored in cache
  • Toolbox with favicon stored in cache

Quick Start

You can configure and customize the script with this variables:

<?php
$path_to_display = './';
$wamp_path       = 'C:/wamp';

$dirs_to_ignore  = array(
    '.',
    '..',
);

$vhost_to_ignore = array(
    'localhost',
);

//$custom_vhost_path_config = '/etc/apache2/vhosts';

$toolbox = array(
    'Name' => 'http://url.to.go',
);

// custom thumbnails to search
$preview_inside_dir = array(
    'screenshot',
    'preview',
);

Custom Thumbnails

www

You have 2 ways to customize the thumbnail:

  1. Put the image in /www with the same name of the directory
  2. Put the image inside the directory, with a name like in $preview_inside_dir

virtual host

You have 2 ways to customize the thumbnail:

  1. Put the image next to the virtual host conf, with the same name
  2. Put the image inside the directory, with a name like in $preview_inside_dir

Special Thanks