|
@@ -9,6 +9,10 @@
|
|
* file that was distributed with this source code.
|
|
* file that was distributed with this source code.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+if (PHP_SAPI !== 'cli') {
|
|
|
|
+ die("Example scripts are meant to be executed locally via CLI.");
|
|
|
|
+}
|
|
|
|
+
|
|
require __DIR__.'/../autoload.php';
|
|
require __DIR__.'/../autoload.php';
|
|
|
|
|
|
function redis_version($info)
|
|
function redis_version($info)
|