From 8d5c044ae91efb64ef7d85f6371b043d981a3829 Mon Sep 17 00:00:00 2001 From: Dalyn Cessac Date: Wed, 16 Mar 2011 13:02:17 -0500 Subject: Removed phpvideotoolkit examples --- .../phpvideotoolkit/examples/example-config.php | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 libraries/phpvideotoolkit/examples/example-config.php (limited to 'libraries/phpvideotoolkit/examples/example-config.php') diff --git a/libraries/phpvideotoolkit/examples/example-config.php b/libraries/phpvideotoolkit/examples/example-config.php deleted file mode 100644 index 70540b7..0000000 --- a/libraries/phpvideotoolkit/examples/example-config.php +++ /dev/null @@ -1,70 +0,0 @@ -Please open examples/example-config.php to set your servers values. Then click here to continue.'); -//<- exits - } - -// use a particular version for the examples - $use_version = 'php5'; - $has_version_warning = false; -// check if php5 is ok - if($use_version == 'php5' && version_compare(PHP_VERSION, '5.0.0', '<')) - { - $use_version = 'php4'; - $has_version_warning = true; - } -// print_r(array($use_version, version_compare('4', PHP_VERSION, '<'))); -// exit; - if(!isset($ignore_demo_files) || !$ignore_demo_files) - { - $is_file = is_file(PHPVIDEOTOOLKIT_EXAMPLE_ABSOLUTE_PATH.'to-be-processed'.DS.'cat.mpeg'); - if($is_file) - { - if(!isset($ignore_config_output) || !$ignore_config_output) - { - echo 'Please note that this example requires demo files. If you have not got these demo files you can download them from here.

This example will now quit.
'; - exit; - } - } - else - { - if(!isset($ignore_config_output) || !$ignore_config_output) - { - echo '
'; - } - } - } - - - \ No newline at end of file -- cgit v1.2.3