Plugin Directory

Changeset 1608038


Ignore:
Timestamp:
03/05/2017 07:14:10 AM (9 years ago)
Author:
Tunapanda
Message:

check php version

Location:
wp-xapi-lrs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-xapi-lrs/trunk/ext/minixapi

    • Property svn:ignore set to
      submodule
  • wp-xapi-lrs/trunk/wp-xapi-lrs.php

    r1582655 r1608038  
    11<?php
     2
     3/*
     4Plugin Name: xAPI LRS
     5Plugin URI: http://github.com/tunapanda/wp-xapi-lrs
     6GitHub Plugin URI: http://github.com/tunapanda/wp-xapi-lrs
     7Description: Enables your WordPress site to act as an xAPI Learning Record Store.
     8Version: 0.0.3
     9*/
     10
     11if (!defined("PHP_VERSION_ID") || PHP_VERSION_ID<50500) {
     12    trigger_error('Your PHP version is too old, you need at least 5.5.0, you have '.phpversion(),E_USER_ERROR);
     13    return;
     14}
    215
    316require_once __DIR__."/ext/minixapi/MiniXapi.php";
     
    720use xapilrs\WpUtil;
    821use xapilrs\Template;
    9 
    10 /*
    11 Plugin Name: xAPI LRS
    12 Plugin URI: http://github.com/tunapanda/wp-xapi-lrs
    13 GitHub Plugin URI: http://github.com/tunapanda/wp-xapi-lrs
    14 Description: Enables your WordPress site to act as an xAPI Learning Record Store.
    15 Version: 0.0.2
    16 */
    1722
    1823function xapilrs_activate() {
Note: See TracChangeset for help on using the changeset viewer.