[go: up one dir, main page]

Skip to content

mykiwi/wamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

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