This is for examples/ reformat mostly. But there are some other fixes too.
BTW: This is pushed, so if you have any objections - patches are welcome :)
Michal Privoznik (14):
gitignore: Ignore tags file
configure: Provide default for php-confdir
libvirt-php.spec.in: Honour php-{extensiondir,confdir}
examples: Reformat libvirt.php
examples: Fix 'if-else' formatting in libvirt.php
examples: Fix curly braces indent in libvirt.php
examples: Reformat header.php
examples: Reformat index.php
examples: Properly detect if we're connected
examples: Don't report errors when looking up a domain
examples: Show screenshot only for active domains
examples: Better translate volume perms
examples: Don't fetch volume count for inactive pools
examples: Switch to ImageMagick for scaling pictures
.gitignore | 1 +
configure.ac | 2 +
examples/header.php | 2 +-
examples/index.php | 1335 +++++++++++++-------------
examples/libvirt.php | 2317 +++++++++++++++++++++++-----------------------
libvirt-php.spec.in | 7 +-
m4/virt-php-confdir.m4 | 4 +
m4/virt-php-extension.m4 | 35 +
8 files changed, 1865 insertions(+), 1838 deletions(-)
create mode 100644 m4/virt-php-extension.m4
--
2.8.4