Code Monkey home page Code Monkey logo

wamp's Introduction

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

wamp's People

Contributors

kareylo avatar mykiwi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wamp's Issues

PHP7

Hi,

You have to change the line 751
from
preg_match("([0-9\.]+)", @mysql_get_server_info(), $match);
to
preg_match("([0-9\.]+)", @mysqli_get_server_info(), $match);

Because mysql_get_server_info is deprecated in PHP7 ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.